https://bugs.meego.com/show_bug.cgi?id=16452

           Summary: CalDAV + libical: ORGANIZER parser error (Apple
                    Calendar Server)
    Classification: MeeGo Projects
           Product: SyncEvolution
          Platform: ---
           Version: unspecified
          Platform: Common
      Architecture: ---
            Status: NEW
          Severity: normal
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


Run 

CLIENT_TEST_SERVER=apple CLIENT_TEST_SIMPLE_UID=1 CLIENT_TEST_MODE=server
./client-test Client::Sync::ical20::testItems

with a configuration that talks to a Apple Calendar Server.

The ORGANIZER property is lost. Root cause is a parser error in libical of the
data sent by the server. From
Client_Sync_ical20_testItems.refresh.client.B/child/syncevolution-log.html:


[2011-04-20 10:50:46.268] Read block (768 bytes):
[BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.27//EN
BEGIN:VEVENT
UID:20060416T204922Z-4272-727-1-250@gollum
DTSTART:20060406T193000Z
DTEND:20060406T200000Z
ATTENDEE;CN=Patrick Ohly;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=ACCEPTED;R
OLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:[email protected]
ATTENDEE;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PART
ICIPANT;RSVP=TRUE:mailto:[email protected]
CATEGORIES:BUSINESS
CATEGORIES:MEETING
CLASS:PUBLIC
CREATED:20110420T085029Z
DTSTAMP:20110420T085029Z
LAST-MODIFIED:20110420T085029Z
ORGANIZER;CN=Patrick Ohly;SCHEDULE-AGENT=NONE;SCHEDULE-STATUS=5.3:mailto:P
[email protected]
SEQUENCE:2
SUMMARY:meeting invitation
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR 

# [2011-04-20 10:50:46.272] Parsing:
# [2011-04-20 10:50:46.272] 

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.27//EN
BEGIN:VEVENT
UID:20060416T204922Z-4272-727-1-250@gollum
DTSTART:20060406T193000Z
DTEND:20060406T200000Z
ATTENDEE;CN=Patrick Ohly;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=ACCEPTED;
 ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:[email protected]
ATTENDEE;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=NEEDS-ACTION;
 ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:[email protected]
CATEGORIES:BUSINESS
CATEGORIES:MEETING
CLASS:PUBLIC
CREATED:20110420T085029Z
DTSTAMP:20110420T085029Z
LAST-MODIFIED:20110420T085029Z
ORGANIZER;CN=Patrick Ohly:ERROR: No Value
SEQUENCE:2
SUMMARY:meeting invitation
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

The data getting parsed here is the one exported by libical. Later this is
passed to Synthesis with property value "ERROR: No Value", where it gets
removed because it is not an email address (ical20 incoming script,
PARSEEMAILSPEC(ORGANIZER, CN, EM)).

Need to analyze in libical.

-- 
Configure bugmail: https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to