horde | 1 Apr 2007 16:10

Read & Write events to Kronolith from Thunderbird Lightning

Hello all,

I have been searching for documentation that would discribe how to  
setup Horde and Kronolith to be able to:

1. Read & Write events remotely to kronolith from clients like  
Thunderbird / Lightning.
2. Be able to use SyncML to sync my Kronolith calender events and my  
Treo Palm 700P events. I have been able SyncML with FRAMEWORK_3.

 From the information I have found it is unclear which route I should  
use to configure item #1 above. I am aware of the patches from the  
#3032 bug ticket but is not clear what CVS release these apply to or  
if the patches are even needed if using the CVD HEAD.

I have installed and configured both the CVS FRAMEWORK_3 branch and  
then the  CVS HEAD and have them working with general functionality. I  
can modify either one as needed to get to my #1 desired funtion. Also  
I am not concerned about "Production" status.

Any guidence would be most appreciated.

Thanks to all for the efforts being put in to this project.

--Steve

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

--

-- 
(Continue reading)

Jochem Meyers | 2 Apr 2007 16:37
Picon
Favicon

Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Hi all,

When I try to synchronize an item with daily recurrence that ends after an x
number of occurrences to my PDA, the items syncs, but the recurrence is
lost. I've tracked this down to a part of kronolith. When I output $this in
kronolith/lib/Recurrence.php's toRRule20() function, I get the key-value
pairs that seem odd to me:

[recurCount] =>
[recurType] => 19

AFAIK, recurType for daily should be 1. The number 19 seems to originate
from the number of recurrences. I've tested this with another item that
recurred 10 times, and the recurType was 10 in that case.

Other than that, when synchronizing items without a maximum number of
recurrences, with or without an enddate, the recurrence is also lost.

I've been trying to find the cause, but haven't been able to yet. Iirc, this
started round-about when recurcount support was added, maybe the adjustments
made then are the cause of this problem?

I'll keep digging for the cause, as it's a rather painful bug. If I find
anything else, I'll post it here. Any help pointing me to a probable cause
would be greatly appreciated.

Regards,

Jochem

(Continue reading)

Andy Wright | 2 Apr 2007 16:46

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Jochem Meyers wrote:
> Hi all,
>
> When I try to synchronize an item with daily recurrence that ends after an x
> number of occurrences to my PDA, the items syncs, but the recurrence is
> lost. I've tracked this down to a part of kronolith. When I output $this in
> kronolith/lib/Recurrence.php's toRRule20() function, I get the key-value
> pairs that seem odd to me:
>
> [recurCount] =>
> [recurType] => 19
>
> AFAIK, recurType for daily should be 1. The number 19 seems to originate
> from the number of recurrences. I've tested this with another item that
> recurred 10 times, and the recurType was 10 in that case.
>
> Other than that, when synchronizing items without a maximum number of
> recurrences, with or without an enddate, the recurrence is also lost.
>
> I've been trying to find the cause, but haven't been able to yet. Iirc, this
> started round-about when recurcount support was added, maybe the adjustments
> made then are the cause of this problem?
>
> I'll keep digging for the cause, as it's a rather painful bug. If I find
> anything else, I'll post it here. Any help pointing me to a probable cause
> would be greatly appreciated.
>
> Regards,
>
> Jochem
(Continue reading)

Jan Schneider | 2 Apr 2007 17:26
Favicon
Gravatar

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Please provide an example iCalendar file from the syncml logs.

Zitat von Andy Wright <horde <at> eltofts.homelinux.com>:

> Jochem Meyers wrote:
>> Hi all,
>>
>> When I try to synchronize an item with daily recurrence that ends after an x
>> number of occurrences to my PDA, the items syncs, but the recurrence is
>> lost. I've tracked this down to a part of kronolith. When I output $this in
>> kronolith/lib/Recurrence.php's toRRule20() function, I get the key-value
>> pairs that seem odd to me:
>>
>> [recurCount] =>
>> [recurType] => 19
>>
>> AFAIK, recurType for daily should be 1. The number 19 seems to originate
>> from the number of recurrences. I've tested this with another item that
>> recurred 10 times, and the recurType was 10 in that case.
>>
>> Other than that, when synchronizing items without a maximum number of
>> recurrences, with or without an enddate, the recurrence is also lost.
>>
>> I've been trying to find the cause, but haven't been able to yet. Iirc, this
>> started round-about when recurcount support was added, maybe the adjustments
>> made then are the cause of this problem?
>>
>> I'll keep digging for the cause, as it's a rather painful bug. If I find
>> anything else, I'll post it here. Any help pointing me to a probable cause
>> would be greatly appreciated.
(Continue reading)

Andy Wright | 2 Apr 2007 17:59

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Jan Schneider wrote:
> Please provide an example iCalendar file from the syncml logs.
>
>   
>   
This is the content from /tmp/sync/data.txt - hopfully this is what you 
wanted ?

The calendar item was set to recur every 1 days.

output received from horde backend (text/x-vcalendar):
BEGIN:VCALENDAR
VERSION:1.0
X-WR-CALNAME:Andy Wright's Calendar
PRODID:-//The Horde Project//Horde_iCalendar Library//EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20070403T050000Z
DTEND:20070403T060000Z
DTSTAMP:20070402T154830Z
UID:20070402163907.5qf60gruy44c <at> 192.168.1.1
DCREATED:20070402T153907Z
LAST-MODIFIED:20070402T153907Z
SUMMARY:Test title
TRANSP:OPAQUE
ORGANIZER;CN=Andy Wright:mailto:andywright
LOCATION:Test location
CLASS:PUBLIC
STATUS:CONFIRMED
END:VEVENT
(Continue reading)

Andy Wright | 2 Apr 2007 18:05

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Jan Schneider wrote:
> Please provide an example iCalendar file from the syncml logs.
>
> Zitat von Andy Wright <horde <at> eltofts.homelinux.com>:
>   
On second thoughts, this is probably what you wanted - contents of 
events.ics - calendar exported as iCalendar

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Andy Wright's Calendar
PRODID:-//The Horde Project//Horde_iCalendar Library//EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20070403T050000Z
DTEND:20070403T060000Z
DTSTAMP:20070402T160248Z
UID:20070402163907.5qf60gruy44c <at> 192.168.1.1
CREATED:20070402T153907Z
LAST-MODIFIED:20070402T153907Z
SUMMARY:Test title
TRANSP:OPAQUE
ORGANIZER;CN=Andy Wright:mailto:andywright
LOCATION:Test location
CLASS:PUBLIC
STATUS:CONFIRMED
RRULE:FREQ=DAILY;INTERVAL=1
END:VEVENT
END:VCALENDAR

(Continue reading)

Jan Schneider | 2 Apr 2007 18:30
Favicon
Gravatar

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Zitat von Andy Wright <horde <at> eltofts.homelinux.com>:

> Jan Schneider wrote:
>> Please provide an example iCalendar file from the syncml logs.
>>
>> Zitat von Andy Wright <horde <at> eltofts.homelinux.com>:
>>
> On second thoughts, this is probably what you wanted - contents of
> events.ics - calendar exported as iCalendar
>
> BEGIN:VCALENDAR
> VERSION:2.0
> X-WR-CALNAME:Andy Wright's Calendar
> PRODID:-//The Horde Project//Horde_iCalendar Library//EN
> METHOD:PUBLISH
> BEGIN:VEVENT
> DTSTART:20070403T050000Z
> DTEND:20070403T060000Z
> DTSTAMP:20070402T160248Z
> UID:20070402163907.5qf60gruy44c <at> 192.168.1.1
> CREATED:20070402T153907Z
> LAST-MODIFIED:20070402T153907Z
> SUMMARY:Test title
> TRANSP:OPAQUE
> ORGANIZER;CN=Andy Wright:mailto:andywright
> LOCATION:Test location
> CLASS:PUBLIC
> STATUS:CONFIRMED
> RRULE:FREQ=DAILY;INTERVAL=1
> END:VEVENT
(Continue reading)

Andy Wright | 2 Apr 2007 18:34

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM


> Actually both. Are you sure that the syncml log is recent? Both  
> iCalendar events are exported with exactly the same method, but only  
> this one has an RRULE property.
>
> Jan.
>
>   

That was done just a few minutes ago - I cleared the calendar and all 
the logs, added one entry with the recurrance, did the sync and then 
sent the results.

Any more tests I can do to help ?

Andy.
--

-- 
Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: kronolith-unsubscribe <at> lists.horde.org

Jochem Meyers | 3 Apr 2007 10:42
Picon
Favicon

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Hi Jan,

The entry as it exists in the database (recurtype = 1):

mysql> select * from kronolith_events where event_creator_id = 'jmeijers'\G
*************************** 1. row ***************************
           event_id: 9bdbd246e2d1f0d8553df3f61674c4bc
          event_uid: 20070403113820.4btiuxokcpkw <at> 172.31.17.6
        calendar_id: jmeijers
   event_creator_id: jmeijers
  event_description:
     event_location:
       event_status: 2
    event_attendees: a:0:{}
     event_keywords:
   event_exceptions:
        event_title: test event
     event_category:
    event_recurtype: 1
event_recurinterval: 1
    event_recurdays: NULL
 event_recurenddate: 9999-12-31 00:00:00
        event_start: 2007-04-03 06:00:00
          event_end: 2007-04-03 07:00:00
        event_alarm: 0
     event_modified: 1175593100
      event_private: 0
   event_recurcount: NULL
1 row in set (0.00 sec)

(Continue reading)

Jan Schneider | 3 Apr 2007 17:25
Favicon
Gravatar

Re: Recurrence broken in Kronolith -> lastest 3.x Funambol client for WM

Zitat von Jochem Meyers <jochem <at> mondrian.nl>:

> Hi Jan,
>
> The entry as it exists in the database (recurtype = 1):
>
> mysql> select * from kronolith_events where event_creator_id = 'jmeijers'\G
> *************************** 1. row ***************************
>            event_id: 9bdbd246e2d1f0d8553df3f61674c4bc
>           event_uid: 20070403113820.4btiuxokcpkw <at> 172.31.17.6
>         calendar_id: jmeijers
>    event_creator_id: jmeijers
>   event_description:
>      event_location:
>        event_status: 2
>     event_attendees: a:0:{}
>      event_keywords:
>    event_exceptions:
>         event_title: test event
>      event_category:
>     event_recurtype: 1
> event_recurinterval: 1
>     event_recurdays: NULL
>  event_recurenddate: 9999-12-31 00:00:00
>         event_start: 2007-04-03 06:00:00
>           event_end: 2007-04-03 07:00:00
>         event_alarm: 0
>      event_modified: 1175593100
>       event_private: 0
>    event_recurcount: NULL
(Continue reading)


Gmane