calendar ics bug

Bug #563032 reported by hsm flxCore
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 1

Bug Description

I'm using the functionality of Open ERP to share the calendar with other applications.
For every case-section Open ERP publishes an ICS file in ''ftp://xxxx:8021/mydb/Calendars/''.
I'm subscribing to this ICS file with Mozilla Lightning Calendar. This works perfectly.
However, in my calendar (Lightning), I had some meetings already, which I would like to synchronize the other way around. By publishing the calendar, it adds my local activities to the ICS file online (nice!). There are only a few problems:
* some activities are displayed incorrectly ( DTEND is correct, but is being displayed incorrect (two hours before)).
* my tasks (VTODO) are converted into VEVENTS after being processed by Open ERP. The date of a task is unknown and therefore all tasks are displayed on the current time in the Open ERP calendar.

I tried to publish my calendar (publish ICS from lightning) somewhere else to see if my export function was the reason: It wasn't. It is Open ERP which converts tasks into events and which misinterprets DTEND values.

My Open ERP version is 5.0.6.

Hannes

Revision history for this message
hsm flxCore (hannes-smit) wrote :

It is not the problem that it misinterprets DTEND, it doesn't interpret it at all, it only uses DTSTART and adds a duration of 1 to it.

Revision history for this message
hsm flxCore (hannes-smit) wrote :

In Open ERP's internal representation a meeting has got a duration, not an end-time.
However, in Open ERP's .ics file a DTEND is used.

Changed in openobject-addons:
milestone: none → 5.0.10
Revision history for this message
hsm flxCore (hannes-smit) wrote :

Checked it again by just modifying the imported (online) calendar: Open ERP listens to the DTEND, but incorrectly: A BUG!

I changed a one hour during activity into 3 hour during (in the Lightning client). Automatically the online ICS gets updated correctly. But then, when viewing the calendar interface in the Open ERP client only displays a 2 hour during event.. strange, very very strange...
See my attachment: on the left Lightning, in the middle Open ERP and on the right the ICS file on the Open ERP server.

Revision history for this message
hsm flxCore (hannes-smit) wrote :

Thanks Stephane,
Do you think this will solve both problems?

Hannes

Changed in openobject-addons:
assignee: nobody → rpa (Open ERP) (rpa-openerp)
Revision history for this message
hsm flxCore (hannes-smit) wrote :

I found that the mappings in Open ERP are not optimal: For example a Meeting is mapped with it's deadline towards DTEND (ICS).
It's better to use the Duration and Start date to compute the end-date of a Meeting instead of using the Deadline.

I think ICS also supports DURATION as an attribute. If someone can add this field to the ICS fields in Open ERP, then this may solve part of the problem.

Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

You are right that ICS provides DURATION, We can add,
But as ics vevent can not have Both DURATION AND DTEND properties at a time, we should avoid selecting both in mapping lines..

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Hannes,
We appreciate your interest and inputs.
For the sake of usability, we shift this to 6.0 and it will contain every possible configuration for this utility.
Keep posting on this thread for more of your golden suggestions.
You may use the caldav module from addons branch of trunk(to be stable 6.0).
Thanks a lot.

Changed in openobject-addons:
importance: Undecided → Wishlist
milestone: 5.0.10 → 6.0
Changed in openobject-addons:
assignee: rpa (Open ERP) (rpa-openerp) → nobody
tfr (Openerp) (tfr)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.