jobisoft / EAS-4-TbSync

[Thunderbird Add-On] The Exchange ActiveSync provider for TbSync to sync contacts, tasks and calendars to Thunderbird.
https://github.com/jobisoft/EAS-4-TbSync/wiki/About:-Provider-for-Exchange-ActiveSync
Mozilla Public License 2.0
197 stars 28 forks source link

attendee.commonName.replace is not a function #263

Open bb2k opened 5 months ago

bb2k commented 5 months ago

Your environment

TbSync version: 4.8 EAS-4-TbSync version: 4.8 Thunderbird version: 115.11

Expected behavior

sync

Actual behavior

javascript error

Steps to reproduce

Trying to syn my caldav from a zimbra server

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:MET
X-TZINFO:MET[2024a]
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19160430T230000
RDATE:19160430T230000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19161001T010000
RDATE:19161001T010000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19170416T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=3MO;UNTIL=19180415T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19170917T030000
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=3MO;UNTIL=19180916T030000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19400401T020000
RDATE:19400401T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19421102T030000
RDATE:19421102T030000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19430329T020000
RDATE:19430329T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19431004T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1MO;UNTIL=19441002T030000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19440403T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1MO;UNTIL=19450402T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19450916T030000
RDATE:19450916T030000
END:STANDARD
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19770925T030000
RDATE:19770925T030000
END:STANDARD
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19781001T030000
RDATE:19781001T030000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19770403T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU;UNTIL=19800406T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19790930T030000
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU;UNTIL=19950924T030000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:MET(DST)
DTSTART:19810329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU;UNTIL=19960331T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:MET(STD)
DTSTART:19961027T030000
RDATE:19961027T030000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+020000
TZOFFSETFROM:+010000
TZNAME:(DST)
DTSTART:19970330T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+010000
TZOFFSETFROM:+020000
TZNAME:(STD)
DTSTART:19971026T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20240611T141851Z
LAST-MODIFIED:20240611T141851Z
DTSTAMP:20240611T141851Z
UID:773839
SUMMARY:Patrimoine des JRES - phase de découverte de HAL
ATTENDEE;RSVP=FALSE;CN=gt5;PARTSTAT=NEEDS-ACTION;CUTYPE=INDIVIDUAL;ROLE=REQ
 -PARTICIPANT:mailto:gt5@jres.org
ATTENDEE;RSVP=FALSE;CN=franck commanay;PARTSTAT=NEEDS-ACTION;CUTYPE=INDIVID
 UAL;ROLE=REQ-PARTICIPANT:mailto:franck.commanay@renater.fr
ATTENDEE;RSVP=FALSE;CN=cp presidents;PARTSTAT=NEEDS-ACTION;CUTYPE=INDIVIDUA
 L;ROLE=REQ-PARTICIPANT:mailto:cp.presidents@jres.org
X-MOZ-LASTACK:20240611T141851Z
DTSTART;TZID=MET:20240125T150000
DTEND;TZID=MET:20240125T160000
LOCATION:https://rendez-vous.renater.fr/jres-et-hal
DESCRIPTION:La conférence JRES existe de puis 1995 ( [ https://archives.jr
 es.org/ | https://archives.jres.org/ ] ) et le comité d''organisation de l
 a prochaine édition de la conférence a en charge l'archivage pérenne des
  contributions passées. 
\n
\nNous envisageons de verser ces données dans
  HAL\, mais nous n'en sommes qu'à l'étape de découverte de HAL\, son fon
 ctionnement et son API. 
\n
\nNous proposons un échange de type questions/
 réponses avec Laurent Jonchère (gère [ https://univ-rennes.hal.science/ 
 | https://univ-rennes.hal.science/ ] ) pour nous aider à découvrir les po
 ssibilités de HAL\, les difficultés éventuelles\, son API.
X-EAS-BUSYSTATUS:2
TRANSP:OPAQUE
X-EAS-SENSITIVITY:0
CLASS:PUBLIC
X-EAS-RESPONSETYPE:3
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT10M
DESCRIPTION:Description par défaut Mozilla
END:VALARM
END:VEVENT
END:VCALENDAR

Same problem than issue #248 I got this error :

attendee.commonName.replace is not a function

addAttendee@resource:///components/calItemBase.js:646:46
setThunderbirdItemFromWbxml@chrome://eas4tbsync/content/includes/calendarsync.js:155:26
processCommands@chrome://eas4tbsync/content/includes/sync.js:915:49