← Back to team overview

openerp-india team mailing list archive

[Bug 1006974] [NEW] [6.1] Caldav and Timezones

 

Public bug reported:

Invitations coming from Outlook or Lotus Notes and received on
thunderbird can't be added to the synchronized calendar.

In ics files, timezones are defined with an arbitrary timezone id 
(and all the needed information like standard/daylight start, stop and offset)
But it seems that OpenErp is waiting for a timezone id (TZID) which is a timezone name from the olson database to transform the ics to an Openerp calendar event.

exemple timezone definition from http://www.kanzaki.com/docs/ical/vtimezone.html :
BEGIN:VTIMEZONE
  TZID:US--Fictitious-Eastern
  LAST-MODIFIED:19870101T000000Z
  BEGIN:STANDARD
  DTSTART:19671029T020000
  RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
  TZOFFSETFROM:-0400
  TZOFFSETTO:-0500
  TZNAME:EST
  END:STANDARD

  BEGIN:DAYLIGHT
  DTSTART:19870405T020000
  RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4;UNTIL=19980404T070000Z
  TZOFFSETFROM:-0500
  TZOFFSETTO:-0400
  TZNAME:EDT
  END:DAYLIGHT
  END:VTIMEZONE

Traceback from OpenErp :
2012-05-31 15:23:53,589 16743 WARNING ? webdav: Cannot create A38A1A3EA4943F5BC1257A060042FEBC-Lotus_Notes_Generated.ics: ('ValidateError', u'The value "romance" for the field "crm_meeting.vtimezone" is not in the selection')
2012-05-31 15:23:53,589 16743 WARNING ? webdav: Cannot PUT to http://10.29.32.5:8169/production/calendars/users/llauden/c/Meetings/A38A1A3EA4943F5BC1257A060042FEBC-Lotus_Notes_Generated.ics: Operation failed
2012-05-31 15:23:53,590 16743 INFO ? werkzeug: 10.29.1.11 - - [31/May/2012 15:23:53] "PUT /webdav/production/calendars/users/llauden/c/Meetings/A38A1A3EA4943F5BC1257A060042FEBC-Lotus_Notes_Generated.ics HTTP/1.1" 403 -

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1006974

Title:
  [6.1] Caldav and Timezones

Status in OpenERP Addons (modules):
  New

Bug description:
  Invitations coming from Outlook or Lotus Notes and received on
  thunderbird can't be added to the synchronized calendar.

  In ics files, timezones are defined with an arbitrary timezone id 
  (and all the needed information like standard/daylight start, stop and offset)
  But it seems that OpenErp is waiting for a timezone id (TZID) which is a timezone name from the olson database to transform the ics to an Openerp calendar event.

  exemple timezone definition from http://www.kanzaki.com/docs/ical/vtimezone.html :
  BEGIN:VTIMEZONE
    TZID:US--Fictitious-Eastern
    LAST-MODIFIED:19870101T000000Z
    BEGIN:STANDARD
    DTSTART:19671029T020000
    RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
    TZOFFSETFROM:-0400
    TZOFFSETTO:-0500
    TZNAME:EST
    END:STANDARD

    BEGIN:DAYLIGHT
    DTSTART:19870405T020000
    RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4;UNTIL=19980404T070000Z
    TZOFFSETFROM:-0500
    TZOFFSETTO:-0400
    TZNAME:EDT
    END:DAYLIGHT
    END:VTIMEZONE

  Traceback from OpenErp :
  2012-05-31 15:23:53,589 16743 WARNING ? webdav: Cannot create A38A1A3EA4943F5BC1257A060042FEBC-Lotus_Notes_Generated.ics: ('ValidateError', u'The value "romance" for the field "crm_meeting.vtimezone" is not in the selection')
  2012-05-31 15:23:53,589 16743 WARNING ? webdav: Cannot PUT to http://10.29.32.5:8169/production/calendars/users/llauden/c/Meetings/A38A1A3EA4943F5BC1257A060042FEBC-Lotus_Notes_Generated.ics: Operation failed
  2012-05-31 15:23:53,590 16743 INFO ? werkzeug: 10.29.1.11 - - [31/May/2012 15:23:53] "PUT /webdav/production/calendars/users/llauden/c/Meetings/A38A1A3EA4943F5BC1257A060042FEBC-Lotus_Notes_Generated.ics HTTP/1.1" 403 -

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1006974/+subscriptions


Follow ups

References