[Korganizer-devel] [Bug 140624] New: If an iCal component (VEvent / VTODO) does not contain an ORGANIZER property the line "ORGANIZER:MAILTO:

Guido Diepen guidodiepen at gmail.com
Thu Jan 25 22:17:40 CET 2007


" is added. This breaks the ical file (and as far as I know also the ical rfc) and other programs have trouble reading the ical file with this line   
Content-Type: text/plain; charset="utf-8"   
X-Bugzilla-URL: http://bugs.kde.org/   
X-Bugzilla-Reason: AssignedTo   
Precedence: bulk 
Message-ID: <20070125221739.140624.guidodiepen at gmail.com>  
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140624         
           Summary: If an iCal component (VEvent / VTODO) does not contain
                    an ORGANIZER property the line "ORGANIZER:MAILTO:
                    " is added. This breaks the ical file (and as far as I
                    know also the ical rfc) and other programs have trouble
                    reading the ical file with this line
           Product: korganizer
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: korganizer-devel kde org
        ReportedBy: guidodiepen gmail com


Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages

I recently found this problem after I started working on a syncing library.

The following problem occurs: The program that I use to update the iCal files does not make use of (and thus does not write) a ORGANIZER property for both VEVENTS and VTODO's. 

Thus, the program I use creates the following VEVENT:
BEGIN:VEVENT
UID:1169759152775-1
DTSTART:20070125T213000
DTEND:20070125T233000
X-MOZILLA-ALARM-DEFAULT-LENGTH:15
CLASS:PUBLIC
STATUS:CONFIRMED
SUMMARY:Testaaaaaaaaaaaaa
BEGIN:VALARM
TRIGGER;VALUE=DURATION:-PT15M
END:VALARM
END:VEVENT



This Event does show up in my KOrganizer program without a problem. But, as soon as I start modifying things it changes to:
BEGIN:VEVENT
DTSTAMP:20070125T210920Z
ORGANIZER:MAILTO:
X-MOZILLA-ALARM-DEFAULT-LENGTH:15
CREATED:20070125T210729Z
UID:1169759152775-1
SEQUENCE:1
LAST-MODIFIED:20070125T210920Z
SUMMARY:Testaaaaaaaaaaaaa - changed within korganizer
STATUS:CONFIRMED
CLASS:PUBLIC
PRIORITY:5
DTSTART:20070125T203000Z
DTEND:20070125T223000Z
TRANSP:OPAQUE
BEGIN:VALARM
DESCRIPTION:
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
END:VALARM
END:VEVENT

Some minor things have changed, but all of those changes are read by both programs I use. The only problem part is that KOrganizer added the line:
ORGANIZER:MAILTO:
which breaks the reading within other files, since as far as I could see this is not valid according to the RFC for iCal.

My guess is that there are three possible solutions:
* Leave the line out
* add line with MAILTO:UNKOWN unknown org           //NOT BEST SOLUTION
* add line with default ORGANIZER that is the default that is used for creating new events within KOrganizer.

Currently I can 'solve' the problem by changing the line to
ORGANIZER;CN=Guido Diepen:MAILTO:valid email address com


My guess is that the first and the second options (leaving it out, or add default that is used for creating) are the best solutions.

Regards,

Guido Diepen


More information about the Korganizer-devel mailing list