#82 — sunbird publishing to calendar
| State | Rejected |
|---|---|
| Version: |
—
|
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | (anonymous) |
| Submitted on | 2008-07-22 |
| Responsible | Lennart Regebro |
| Target release: |
—
|
Last modified on
2008-09-13
by
Lennart Regebro
I tried to publish a calendar with sunbird 0.7 / ubuntu hardy to a calendar, only to get an
2008-07-22 14:00:55 ERROR Zope.SiteErrorLog http://localhost:8087/hubwiki/testfolder/icalendar.ics/PUT
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module webdav.NullResource, line 167, in PUT
Module Products.Archetypes.WebDAVSupport, line 116, in PUT
Module Products.Archetypes.utils, line 160, in mapply
Module Products.Marshall.marshaller, line 102, in demarshall
Module Products.Marshall.marshaller, line 85, in delegate
- __traceback_info__: (<Products.Calendaring.marshaller.CalendarMarshaller instance at 0xf8e3c0c>, 'demarshall', <ATFolder at /hubwiki/testfolder/icalendar.ics>, {'mimetype': 'text/calendar', 'REQUEST': <HTTPRequest, URL=http://localhost:8087/hubwiki/testfolder/icalendar.ics/PUT>, 'RESPONSE': ZServerHTTPResponse(''), 'context': <ATFolder at /hubwiki/testfolder/icalendar.ics>, 'filename': 'icalendar.ics'})
Module Products.Calendaring.marshaller, line 443, in demarshall
Module Products.Calendaring.marshaller, line 233, in set_event_info_from_vevent
Module Products.Calendaring.marshaller, line 155, in convert
Module Products.Calendaring.marshaller, line 147, in _convert
Module Products.Calendaring.marshaller, line 141, in prop2DateTime
Module Products.Calendaring.common, line 85, in dt2DT
ValueError: astimezone() cannot be applied to a naive datetime
2008-07-22 14:00:55 ERROR Zope.SiteErrorLog http://localhost:8087/hubwiki/testfolder/icalendar.ics/PUT
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module webdav.NullResource, line 167, in PUT
Module Products.Archetypes.WebDAVSupport, line 116, in PUT
Module Products.Archetypes.utils, line 160, in mapply
Module Products.Marshall.marshaller, line 102, in demarshall
Module Products.Marshall.marshaller, line 85, in delegate
- __traceback_info__: (<Products.Calendaring.marshaller.CalendarMarshaller instance at 0xf8e3c0c>, 'demarshall', <ATFolder at /hubwiki/testfolder/icalendar.ics>, {'mimetype': 'text/calendar', 'REQUEST': <HTTPRequest, URL=http://localhost:8087/hubwiki/testfolder/icalendar.ics/PUT>, 'RESPONSE': ZServerHTTPResponse(''), 'context': <ATFolder at /hubwiki/testfolder/icalendar.ics>, 'filename': 'icalendar.ics'})
Module Products.Calendaring.marshaller, line 443, in demarshall
Module Products.Calendaring.marshaller, line 233, in set_event_info_from_vevent
Module Products.Calendaring.marshaller, line 155, in convert
Module Products.Calendaring.marshaller, line 147, in _convert
Module Products.Calendaring.marshaller, line 141, in prop2DateTime
Module Products.Calendaring.common, line 85, in dt2DT
ValueError: astimezone() cannot be applied to a naive datetime
- Steps to reproduce:
- create a folder called testfolder
set the type to calendar
in sunbird File->New Calendar
On the Network -> next
Format: ICal
Location: .../testfolder/icalendar.ics -> next, finish
Try to add an event with the 'plone calendar' used as the calender
Error message in sunbird
Error message in zope
Expected: no confirmation in sunbird, event created in plone.
The same effect can be created by exporting a calendar in sunbird to an test.ics file, and trying to import that to a plone calendar.
Added by
Lennart Regebro
on
2008-09-13 10:49 AM
Issue state:
unconfirmed → open
Responsible manager:
(UNASSIGNED) → regebro
Subirds TZID is set to thinks like "/mozilla.org/20070129_1/Europe/Paris" which is a really bad idea. Calendaring doesn't understnd this, and this causes the error.
I'm not going to fix bugs in Calendaring, instead I'll make something more modular and cleaner to help with icalendar import/export in Plone, which also support recurring events. I don't know what yet, perhaps collective.calendaring, which is a new version of Calendaring. We'll see.
I'm not going to fix bugs in Calendaring, instead I'll make something more modular and cleaner to help with icalendar import/export in Plone, which also support recurring events. I don't know what yet, perhaps collective.calendaring, which is a new version of Calendaring. We'll see.
Added by
Lennart Regebro
on
2008-09-13 11:57 AM
Issue state:
open → rejected
This is the same as #81, and #81 is easier to reproduce, so I'll close this.