Bug 59629 - Use default VERSION and PRODID if not explicitly specified, implement DURATION
Summary: Use default VERSION and PRODID if not explicitly specified, implement DURATION
Status: RESOLVED NOT A BUG
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 65382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-11 01:21 UTC by tjg
Modified: 2008-11-16 11:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tjg 2003-06-11 01:21:11 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
OS:          Linux

This is similar to bug #53749 except that instead of an error I get a crash.

I have a filter in kmail to run the korganizerIn script. The script places the incoming .ics file in the correct directory, but korganizer crashes. If I do not remove the file from the incoming directory, korganizer will crash on restart.

Here is the content from one of the iCal files....
BEGIN:VCALENDAR
METHOD:REQUEST
BEGIN:VEVENT
SEQUENCE:2
ATTENDEE;CN=Timothy Grant:mailto:tjg@rentrak.com
DTSTAMP:20030610T230452Z
SUMMARY:Conference Call with Daily Variety.com
UID:00B110F1-9B97-11D7-B70A-000393D146E4
ORGANIZER;CN=Christopher Behnke:mailto:crb@rentrak.com
DTSTART;TZID=America/Los_Angeles:20030611T103000
DURATION:PT1H
BEGIN:VALARM
TRIGGER;VALUE=DURATION:-PT15M
ACTION:DISPLAY
DESCRIPTION:Event reminder
END:VALARM
BEGIN:VALARM
ATTENDEE:mailto:crb@rentrak.com
TRIGGER;VALUE=DURATION:-PT15M
ACTION:EMAIL
SUMMARY:Alarm notification
DESCRIPTION:This is an event reminder
END:VALARM
BEGIN:VALARM
ATTACH;VALUE=URI:Ping
TRIGGER;VALUE=DURATION:-PT15M
ACTION:AUDIO
END:VALARM
END:VEVENT
Comment 1 Reinhold Kainhofer 2003-10-20 17:08:42 UTC
Subject: Re:

Thanks for the bug report.

The event that you attached to your bug report is terribly broken in several 
aspects:

- -) The first problem with the incoming ics file is that it does not supply a 
PRODID and VERSION field for the VCALENDAR. This would be two lines like the 
following:
  PRODID:-//K Desktop Environment//NONSGML KOrganizer 3.2 pre//EN
  VERSION:2.0
Which application did you use to generate such an event?

- -) The second problem is that the file does not end with END:VCALENDAR.

- -) The third problem is that korganizer does not yet understand a DTSTART and 
a DURATION, it expects a DTEND. If you replace the DURATION line with 
DTEND;TZID=America/Los_Angeles:20030611T113000
then finally, korganizer is able to recognize the file as a valid iTIP message


However, even then korganizer does not implement all functionality that is 
used in your event:

- -) KOrganizer ignores the TZID of your DTSTART and takes the times as local 
time, no matter which time zone you are in (here it appears at 10:30 CEST, 
although it should rather be 10:30 pacific time).

- -) KOrganizer only uses one alarm for each event, whereas your event has 
three. Thus korganizer discards two of the alarms.


Thanks for the bug report, we'll keep in working...
Reinhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/k/pZTqjEwhXvPN0RAuBrAJ9LgJueLf+TmyjUKvKtukjzahXYpQCfeUfF
jsHNiH3Ysh1zsBe1+GPuKbs=
=cPj2
-----END PGP SIGNATURE-----

Comment 2 tjg 2003-10-20 17:41:17 UTC
Subject: Re:  Crash on attempting to load iCal.ics files using
	the korganizerIn script

The file was generated by a friend running OSX, I believe the
application is called iCal.


On Mon, 2003-10-20 at 08:08, Reinhold Kainhofer wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>      
> http://bugs.kde.org/show_bug.cgi?id=59629     
> 
> 
> 
> 
> ------- Additional Comments From reinhold@kainhofer.com  2003-10-20 17:08 -------
> Subject: Re:
> 
> Thanks for the bug report.
> 
> The event that you attached to your bug report is terribly broken in several 
> aspects:
> 
> - -) The first problem with the incoming ics file is that it does not supply a 
> PRODID and VERSION field for the VCALENDAR. This would be two lines like the 
> following:
>   PRODID:-//K Desktop Environment//NONSGML KOrganizer 3.2 pre//EN
>   VERSION:2.0
> Which application did you use to generate such an event?
> 
> - -) The second problem is that the file does not end with END:VCALENDAR.
> 
> - -) The third problem is that korganizer does not yet understand a DTSTART and 
> a DURATION, it expects a DTEND. If you replace the DURATION line with 
> DTEND;TZID=America/Los_Angeles:20030611T113000
> then finally, korganizer is able to recognize the file as a valid iTIP message
> 
> 
> However, even then korganizer does not implement all functionality that is 
> used in your event:
> 
> - -) KOrganizer ignores the TZID of your DTSTART and takes the times as local 
> time, no matter which time zone you are in (here it appears at 10:30 CEST, 
> although it should rather be 10:30 pacific time).
> 
> - -) KOrganizer only uses one alarm for each event, whereas your event has 
> three. Thus korganizer discards two of the alarms.
> 
> 
> Thanks for the bug report, we'll keep in working...
> Reinhold
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/k/pZTqjEwhXvPN0RAuBrAJ9LgJueLf+TmyjUKvKtukjzahXYpQCfeUfF
> jsHNiH3Ysh1zsBe1+GPuKbs=
> =cPj2
> -----END PGP SIGNATURE-----
Comment 3 Waldo Bastian 2004-02-04 14:37:09 UTC
KOrganizer of KDE 3.2 does not crash but aborts import due to a "parse error".

Removing "crash" severity from bugreport.
Comment 4 Reinhold Kainhofer 2004-07-22 11:27:55 UTC
*** Bug 65382 has been marked as a duplicate of this bug. ***
Comment 5 Reinhold Kainhofer 2004-09-21 17:44:25 UTC
Multiple alarms are already requested as #16493.

Reinhold
Comment 6 Reinhold Kainhofer 2006-11-02 18:49:07 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 7 FiNeX 2008-09-28 19:32:29 UTC
korganizer from KDE4 doesn't crash importing this file, but it doesn't import nothing.

Anyway, it seems that the file format is not correct. It should be interesting to test how now iCal export ics files, maybe 5 years later Apple export it something better :-)
Comment 8 Christophe Marin 2008-11-16 11:54:44 UTC
Closing since this is not a KDE bug.