Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0000633Funambol SOGo Connectorpublic2021-09-17 15:44
Reporterwcronen Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Summary0000633: Alarms aren't synced correctly. Conversion necessary!
Description

I investigated some time looking for a working event alarm synchronisation.

The problem is that neither SOGo nor Lightning have implemented the full iCalendar standard. For event alarms this means:
SOGo+Lightning only support RELATIV but not ABSOLUTE/FIXED alarm times.

Most, if not ALL, mobile phones on the other hand only seem to support ABSOLUTE alarms.

A good working solution would be to save VCALENDAR entries in the SOGo database with relativ alarms.
The funambol-connector should then convert this relativ alarm to an absolute alarm before syncing it to mobile devices and vice versa.

With this solution the alarms would be working as should in SOGO,Lightning and all mobile devices which are synced with Funambol.

A relativ alarms in iCalendar looks something like:
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT30M
DESCRIPTION:Test
END:VALARM

An absolut/fixed alarm:
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DATE-TIME:20100423T070000Z
DESCRIPTION:Test
END:VALARM

Additional Information

As I don't know enough about the internals of the funambol connector I can't program a solution but I found working converters for funambol and lightning.

I hope that with these 2 files it's not too difficult to implement the conversion because working alarms would be really great.

The files are part of the funambol server and are located in:
/opt/Funambol/config/com/funambol/server/engine/pipeline/phones-support/bsh/MozillaSyncClientout.bsh
and
/opt/Funambol/config/com/funambol/server/engine/pipeline/phones-support/bsh/MozillaSyncClientin.bsh

If needed I can also upload the files.

Hope that helps.

TagsNo tags attached.

Relationships

has duplicate 0001127 resolvedludovic SOGo Alarm not sync with funambol 
has duplicate 0000877 new SOGo Task dialog in web-interface does not honor VALARMs with DATE-TIME 
has duplicate 0001375 new Funambol SOGo Connector Reminders 
has duplicate 0000586 resolvedwsourdeau SOGo Event alarms with a fixed time doesn't show in the web interface 
has duplicate 0000825 closedludovic Funambol SOGo Connector reminder not synced with funambol sync plugin 0.9.1 for thunderbird 2 

Activities

havardw

havardw

2010-05-28 09:45

reporter   ~0001060

As you said, SOGo doesn't implement the full iCalendar standard, so I think this should be fixed in main SOGo and not in the connector. I've already filed bug 586 about this.

Lightning 1.0 doesn support alarms with fixed times, as you can see in the other bug I used Lightning to create one.

wcronen

wcronen

2010-05-28 19:32

reporter   ~0001066

@havard:
I know your bug report but I think it's something different.

It's right that SOGo should implement the full iCalendar standard. That would be the optimal solution.
But I think it's much more work than to implement the converts which you could directly take from the 2 mentioned files and must only adopt a little bit for SOGo.

Another problem would be that without the converter events in Lightning wouldn't be shown correctly. Therefore Lightning must implement the full iCalendar standard also.

And last but not least:
Without the converter events on mobile devices wouldn't show correctly as most (all?) mobiles seem to support only absolut alarms.

The fast and only working solution for all this is:
VALARM-Converters in Funambol-SOGo-Connector

The full iCalendar standard in SOGo would be also very nice. But that should be another feature request (and the solution for your bug report 586).

wcronen

wcronen

2010-06-02 23:13

reporter   ~0001090

As nobody seems to be able to do it or have time for it, I'll try it myself.
Don't expect too much.

If I get the conversion running I'll make a patch and provide it here.

jaywalker

jaywalker

2010-09-14 17:38

reporter   ~0001440

Please fix this bug, it is the only reason why I continue to use Horde instead of migrating to SOGo.
Unfortunately I cannot implement a solution myself, but I am willing to help otherwise.

wcronen

wcronen

2010-09-14 18:32

reporter   ~0001442

Yes, I'd also be very glad if this problem would be fixed and we could use Funambol-Sync.

I tried myself but aren't good enough in programming :(

As soon as there's a testing version I'd be glad to test it. I'd also test and try a new subversion trunk release.

ludovic

ludovic

2010-11-10 17:19

administrator   ~0001751

I think we really need to convert relative alarms to absolute ones when downgrading vcal 2 to vcal 1. I can't find any reference of relative alarms support in vcal 1.

Futhermore, with the v8.7 of the Funambol BlackBerry client, it now uses vcal 1 instead of SIF-E for events.

When an event is returned that contains a relative AALARM, it'll be skipped by the client because of incorrectly input data.

ludovic

ludovic

2010-11-11 20:55

administrator   ~0001770

I've pushed a fix for this - see:

https://sogo-connector.forge.funambol.org/source/browse/sogo-connector/trunk/src/java/ca/inverse/sogo/engine/source/SOGoUtilities.java?view=diff&pathrev=48&r1=47&r2=48

You can grab the Funambol SOGo Connector from SVN if you want to test it.

Basically, it'll convert relative alarms to absolute ones.

ludovic

ludovic

2010-11-12 14:05

administrator   ~0001779

Can any of you guys test my fix from yesterday?

jaywalker

jaywalker

2010-11-12 17:00

reporter   ~0001784

Thank you for making a fix available! Unfortunately, I have no idea how to build the funambol sogo connector package from the svn sources. Could you perhaps give a short description of the download and build process, or even better make the .s4j-file available? Thank you!

2010-11-12 17:02

 

funambol-sogo-1.0.8.s4j (74,517 bytes)
ludovic

ludovic

2010-11-12 17:02

administrator   ~0001786

I've uploaded a s4j for testing.

wcronen

wcronen

2010-11-12 18:33

reporter   ~0001787

Many thx. I'm waiting for my new android and will test it as soon as possible and report any issues.

jaywalker

jaywalker

2010-11-13 08:23

reporter   ~0001796

I tested on Nokia S60 mobile. Synchronization of events from Sogo to mobile seems to work, reminders stay intact. For whole-day events, the mobile displays an absolute alarm time, for normal events, the mobile re-translates the absolute alarm into a relative setting in its display. This is fine.

However, synchronization of events created on the mobile to sogo does not work: Alarms are lost, and for one event, I can see the event in sogos web interface, but when double-clicking on it, "An error occurred during object publishing
the requested object could not be found!" appears (this was a repeating event, and not synced to the default calendar, but to a different one).

The sync tag used to be displayed in the event name on the syncml client. This changed, and the sync tags of events created in sogo are no longer displayed on the mobile.

ludovic

ludovic

2010-11-13 12:52

administrator   ~0001797

Synchronization of events created on phones (that are absolute) will cause issue, this is issue 0000586.

As for the sync tag issue, I'm not sure I understand - please elaborate.

jaywalker

jaywalker

2010-11-13 13:26

reporter   ~0001798

The sync tag issue:

If a user has two calendars, the standard personal calendar and another one called e.g. "test" (sync tag "t"), creates an event "meeting" in test and syncs it to the mobile, it used to show up there as "[t] meeting", indicating which calendar the item belongs to.
With the current version of the funambol connector, the event shows up as "meeting" on the mobile, the sync tag is no longer added to the event name.

Creating an event with name "[t] meeting" on the mobile and syncing it back to sogo creates the event in calendar "test" instead of the personal calendar. With the current connector, this still works, but at least sometimes, the event can not be opened or modified from the web interface. It appears in the overview (standard calendar view) in calendar "test", but cannot be opened. Instead, the error message "An error occured during object publishing. the requested object could not be found!" appears.

ludovic

ludovic

2010-11-16 18:49

administrator   ~0001843

I cannot reproduce the tag issue nor the "An error occured during object publishing. the requested object could not be found!" error.

wcronen

wcronen

2010-11-17 23:01

reporter   ~0001864

I don't have this problem with tags. Multiple calenders are synced great. What doesn't work are read-only calenders from groups but that's another problem.

These are the results of my test with svn_50 version of funambol-connector:

One good news and a bad one.

Good one:
Alarms work great on sogo-web and mobile if you create a new event with alarm and sync this event.

Bad one:
Editing the alarm of an existing event doesn't work neither on sogo-web nor mobile.
If you edit the alarm on mobile and sync it you still see the alarm clock in sogo-web but if you enter the event it says: "No reminder" :(
If you edit the alarm in web-interface and sync it to mobile you still see the previous alarm time.

ludovic

ludovic

2010-11-17 23:04

administrator   ~0001865

As for "If you edit the alarm on mobile and sync it you still see the alarm clock in sogo-web but if you enter the event it says: "No reminder" :(", that's 0000586

As for "If you edit the alarm in web-interface and sync it to mobile you still see the previous alarm time.", that might be a bug in your mobile device. Look at the ds-server.log to see if the alarm is being updated. If so, like my testing showed, then it's a bug in your mobile device.

wcronen

wcronen

2010-11-22 19:28

reporter   ~0001885

ok. I'll try it with outlook and funambol-plugin and report if it works better than with my mobile.

dusanl

dusanl

2010-11-25 15:07

reporter   ~0001895

Hi, I've tested this (funambol-sogo-1.0.8.s4j (74,517 bytes) 2010-11-12 12:02) plugin.
And now I'm able to sync the reminder from the sogo web client and thunderbird to the outlook and my windows mobile 6.5 phone.

  • sogo->funambol->outlook/mda = work
    But when I created the event with alarm (15 min. before) in the outlook or windows mobile 6.5 phone, I can see a event with reminder in the thunderbird, not like "15 min. before", but like "other" with correct time. But in the SOGo web client I still see "no reminder".
  • outlook/mda->funambol->sogo(web) = noreminder
  • outlook/mda->funambol->sogo(thunderbid) = work (but how "other" not like "15min. before)

configuration:

  • sogo server 1.3.4 (64bit)
  • funambol server 8.7 (64bit)
  • thunderbird 3.1.6 (sogo extensions xy.104)
  • outlook 2007 (funambol outlook sync client 9.0.20101026 - because of resolved bug with repeated events)
  • htc hd2 (windows mobile 6.5) (funambol sync client v.8.7.2)
wcronen

wcronen

2010-11-25 20:20

reporter   ~0001898

@dusanl: What about editing existing events?

Try to edit an event created on webinterface/thunderbird/mobile and outlook.
Edit it on all your platforms and sync it then report if it works.

Editing was a major problem for me! Creating new works relative good.

2010-11-29 16:44

 

sogo-sync-edit.xls (101,888 bytes)
dusanl

dusanl

2010-11-29 16:44

reporter   ~0001900

@wcronen: hi, so, I have tested editing existing events... And my resuls are attached here in "sogo-sync-edit.xls" file.

or here: :)
CREATED;sync_status;EDITREMINDER;sync(edit)_status
WEB;tb(ok),outlook(ok),mda(ok);TB;web(ok),outlook(ok),mda(ok)
WEB;tb(ok),outlook(ok),mda(ok);OUTLOOK;web(without_reminder),tb(old_reminder-no_changes),mda(ok)
WEB;tb(ok),outlook(ok),mda(ok);MDA;web(without_reminder),tb(old_reminder-no_changes),outlook(old_reminder-no_changes)

TB;web(ok),outlook(ok),mda(ok);WEB;tb(ok),outlook(ok),mda(ok)
TB;web(ok),outlook(ok),mda(ok);OUTLOOK;tb(old_reminder-no_changes),web(without_reminder),mda(old_reminder-no_changes)
TB;web(ok),outlook(ok),mda(ok);MDA;tb(old_reminder-no_changes),web(without_reminder),outlook(old_reminder-no_changes)

OUTLOOK;web(without_reminder),tb(other_reminder-not_like_5min.before),mda(ok);TB;outlook(ok),web(ok),mda(ok)
OUTLOOK;web(without_reminder),tb(other_reminder-not_like_5min.before),mda(ok);WEB;outlook(ok),tb(ok),mda(ok)
OUTLOOK;web(without_reminder),tb(other_reminder-not_like_5min.before),mda(ok);MDA;outlook(ok),tb(old_reminder-no_changes),web(without_reminder)

MDA;web(without_reminder),tb(other_reminder-not_like_5min.before),outlook(ok);web;mda(ok),tb(ok),outlook(ok)
MDA;web(without_reminder),tb(other reminder-not_like_5min.before),outlook(ok);TB;mda(ok),web(ok),outlook(ok)
MDA;web(without_reminder),tb(other_reminder-not_like_5min.before),outlook(ok);OUTLOOK;mda(ok),web(without_reminder),tb(without_reminder)

I hope it's help. I love this project.

jaywalker

jaywalker

2011-02-03 19:07

reporter   ~0002082

Has some progress been achieved on this bug? I still would love to use SOGo, but need a reliably working event synchronization with my mobile...

jaywalker

jaywalker

2012-03-18 11:16

reporter   ~0003594

I tested today again with the connector version attached to this bug. Reminders are transferred correctly from the server to the phone.
Things get broken when transferring events from the phone back to the server, this is likely bug 586. However, KDEs kontact (via caldav access) states that the event from the mobile has a reminder "at the end of the event" set.

I encountered another problem, though: Non recurring events created or edited on the mobile cannot be edited via KDE kontact (caldav access) after syncing them to the server. Instead, kontact states "unknown error" and some error message saying that only resources could edit this event.
The event can be edited through the web interface without problems.

francis

francis

2021-09-17 15:44

administrator   ~0015460

Funambol is no longer supported.

Issue History

Date Modified Username Field Change
2010-05-28 01:09 wcronen New Issue
2010-05-28 09:45 havardw Note Added: 0001060
2010-05-28 19:32 wcronen Note Added: 0001066
2010-06-02 23:13 wcronen Note Added: 0001090
2010-09-14 17:38 jaywalker Note Added: 0001440
2010-09-14 18:32 wcronen Note Added: 0001442
2010-11-10 17:19 ludovic Note Added: 0001751
2010-11-11 20:55 ludovic Note Added: 0001770
2010-11-12 14:05 ludovic Note Added: 0001779
2010-11-12 14:05 ludovic Status new => feedback
2010-11-12 17:00 jaywalker Note Added: 0001784
2010-11-12 17:02 ludovic File Added: funambol-sogo-1.0.8.s4j
2010-11-12 17:02 ludovic Note Added: 0001786
2010-11-12 18:33 wcronen Note Added: 0001787
2010-11-13 08:23 jaywalker Note Added: 0001796
2010-11-13 12:52 ludovic Note Added: 0001797
2010-11-13 13:26 jaywalker Note Added: 0001798
2010-11-16 18:49 ludovic Note Added: 0001843
2010-11-17 23:01 wcronen Note Added: 0001864
2010-11-17 23:04 ludovic Note Added: 0001865
2010-11-22 19:28 wcronen Note Added: 0001885
2010-11-25 15:07 dusanl Note Added: 0001895
2010-11-25 20:20 wcronen Note Added: 0001898
2010-11-29 16:44 dusanl File Added: sogo-sync-edit.xls
2010-11-29 16:44 dusanl Note Added: 0001900
2011-02-03 19:07 jaywalker Note Added: 0002082
2011-02-08 23:40 ludovic Relationship added has duplicate 0001127
2011-12-22 17:54 francis Relationship added has duplicate 0000877
2011-12-22 17:54 francis Relationship added has duplicate 0001375
2011-12-22 17:55 francis Relationship added has duplicate 0000586
2012-03-18 11:16 jaywalker Note Added: 0003594
2012-08-27 20:42 ludovic Relationship added has duplicate 0000825
2021-09-17 15:44 francis Status feedback => closed
2021-09-17 15:44 francis Resolution open => won't fix
2021-09-17 15:44 francis Note Added: 0015460