can't read "elem(photo_type)": no such element in array
Bug #180067 reported by
sander
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Released
|
Medium
|
Mats |
Bug Description
Zacatecnik has the following error on Windows XP which can't be reproduced on Linux:
can't read "elem(photo_type)": no such element in array
can't read "elem(photo_type)": no such element in array
while executing
"::Jabber::JlibCmd avatar set_data $elem(photo_binval) $elem(photo_type)"
(procedure "SyncAvatar" line 8)
invoked from within
"SyncAvatar $token "
(procedure "::VCard::SetVCard" line 6)
invoked from within
"::VCard::SetVCard ::VCard::2"
invoked from within
".jvcard2.fr.b.btok invoke "
invoked from within
".jvcard2.fr.b.btok instate {pressed !disabled} { .jvcard2.fr.b.btok state !pressed; .jvcard2.fr.b.btok invoke } "
(command bound to event)
Changed in coccinella: | |
assignee: | nobody → matsben |
importance: | Undecided → Medium |
Changed in coccinella: | |
milestone: | none → 0.96.4.1 |
Changed in coccinella: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I was assuming that if binval was there there was also mime type. I now require both to be there for vcard to be synced. I haven't reproduced the bug nor verified this fix.I think both BINVAL and TYPE elements shall be there in order to interpret the data correctly.