Open Bug 769180 Opened 12 years ago Updated 10 days ago

Unable to save appointments in calendars without specified e-mail address

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 1.5
defect

Tracking

(Not tracked)

People

(Reporter: david.binkovic, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [calconnect31])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5

Steps to reproduce:

- Setup a new CalDAV calendar
- Don't choose an e-mail address from the dropdown
- Synchronize the calendar
- Open and edit an existing event
- Save & close the dialog


Actual results:

- Nothing happens and the dialog remains opened
- the error console shows the following error: 

Zeitstempel: 28.06.2012 10:53:55
Fehler: anAttendee.id is null
Quelldatei: resource://calendar/modules/calUtils.jsm -> file:///C:/Dokumente%20und%20Einstellungen/user/Anwendungsdaten/Thunderbird/Profiles/ym2ubaey.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Zeile: 401

Note: this happens when havein an e-mail account configured in Thunderbird, but not selecting the mail address during Calendar creation. When having no e-mail account in Thunderbird at all, a different error is thrown (with the same results, and the appointment not being saved): 

Zeitstempel: 28.06.2012 11:01:47
Fehler: uncaught exception: [Exception... "'Component not initialized' when calling method: [calIAttendee::icalProperty]"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///C:/Dokumente%20und%20Einstellungen/user/Anwendungsdaten/Thunderbird/Profiles/1la8sras.no_mail/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calItemBase.js :: cIB_fillIcalComponentFromBase :: line 974"  data: no]


Expected results:

- Appointment should be saved without error
Whiteboard: [calconnect25]
Whiteboard: [calconnect25] → [calconnect31]
Confirmed. This should be fixed when bug 865726 is fixed since there will always be an email to chose from. Nevertheless, it wouldn't be a bad idea to harden the code as long as you can select no email at all.
Status: UNCONFIRMED → NEW
Depends on: 865726
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.