vCard import fails on BDAY, date parsing fail

Bug #786339 reported by John Drinkwater
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Dexter - Old
New
Undecided
Unassigned

Bug Description

I have a collection of vCards that follow an accepted pattern of
BDAY:19000101

Dexter currently refuses to import them with this error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/pymodules/python2.7/dexter/backend/utilities.py", line 49, in run
    import_from_vcard_string(vstring, self.q)
  File "/usr/lib/pymodules/python2.7/dexter/backend/utilities.py", line 158, in import_from_vcard_string
    if birthdaylist[1] == u"00":
IndexError: list index out of range

http://www.rfc-editor.org/rfc/rfc2425.txt Page 12 has some sample data you could use if you're going to make your own library /test suite..

Revision history for this message
John Drinkwater (johndrinkwater) wrote :

Attached two other bugs related to incorrect BDAY & date handling.

Revision history for this message
Allen Lowe (lallenlowe) wrote : Re: [Bug 786339] Re: vCard import fails on BDAY, date parsing fail

this bug will not exist in the dexter rewrite

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.