Closed Bug 456712 Opened 16 years ago Closed 15 years ago

Syntax error in calICSCalendar.js when reading from Zimbra server

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

Lightning 0.9
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: michele.petrazzo, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1 Build Identifier: Thunderbird 2.0.0.17 (20080914) - Ligthing 2008091718 (0.9) Into my environ I have a ics server (zimbra) and tb (the last) with lighting (the last installed today, v. 0.9). Starting with the new version, it's happens that something goes wrong on lighting when I update/modify an event on the ics server. It's happen always the "next update" on lighting side. If I update something on the lighting it update correctly the server, but on the other side no. The error that I see on the console are: Error: syntax error Source File: file:///home/michele/.thunderbird/default/7z3u2gpy.slt/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calICSCalendarModule.js -> file:///home/michele/.thunderbird/default/7z3u2gpy.slt/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calICSCalendar.js Line: 893 Reproducible: Always Steps to Reproduce: 1. Setup a ics server 2. Configure lighting for use the ics server 3. Add a new event on lighting, modify it on the ics server 4. Update lighting with the "reload remote"
Version: unspecified → Lightning 0.9
Isn't Zimbra a CalDAV server? Are you sure you are using the correct calendar provider (ics instead of caldav)?
I try all the combinations: http://user:passwd@server/path_calendar or webdav://... with both ics and caldav on lighting. The strange it's that all works in one direction (tb -> server), but not on the other.
Summary: Syntax error on 7Be2fda1a4-762b-4020-b5ad-a41df1933103 → Syntax error in calICSCalendar.js when reading from Zimbra server
What version of Zimbra are you using? For CalDAV on Zimbra 5.0.5, the URL would be something like http://zimbrahost.example.com/dav/USERNAME/Calendar Can you give more detailed steps to reproduce the error, say using demo account(s) at Zimbra's demo server? I could not reproduce steps 1 and 2 on this server, and searching help points to CalDAV more than ics/WebDAV. http://www.zimbra.com/products/hosted_demo.php The file and line number indicates that the error occurs in the XML parser, parsing an eTag reply from the server. http://mxr.mozilla.org/comm-central/source/calendar/providers/ics/calICSCalendar.js?mark=893-894#866 Probably the server returned an error message which was not valid XML. (If this is common, maybe the WebDAV ics provider should be enhanced to provide more detailed logging like the CalDAV provider can, to help users & admins diagnose their problems.)
I haven't tried the host/dav url that seem to works fine. I'm tying to reproduce the problem, but since the demo site currently doesn't allow the login with user/pass but only with a "random" user, I cannot send you a URL to try. I'll wanting until the zimbra support re-enable the login.
(In reply to comment #4) > I'm tying to reproduce the problem, but since the demo site currently doesn't > allow the login with user/pass but only with a "random" user, I cannot send you > a URL to try. Did you try to log in using the username and password given in the first email you see after opening a demo account?
This same sort of behaviour has surfaced with me upon upgrading to Lightning .9 - I'm using Apache/webdav, tbird 2.0.0.16 after saving an edited event within tbird, a PROPFIND is issued to the Apache server and the throbber continues cycling indefinitely. The calendar events for the edited user disappear from tbird/lightning and restarting tbird does not fix it. The calendar must be deleted and re-specifed within tbird to get it to show up again or allow more events to be added. In the Error Console of tbird, this message is always printed after saving the edited event: Error: syntax error Source File: file:///home/blah/.thunderbird/ekd2dnn.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calICSCalendar.js Line: 893
Bug 477248 fixed a similar error message in Lightning 1.0pre. Could you retest if the issue still exists using Thunderbird 3 Beta 2 or newer with Lightning 1.0pre?
No response for a while now, closing INCOMPLETE. Please reopen if you can reproduce or answer any unanswered questions.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.