Bug 142830 - Korganizer doesn't save ical files according to standard
Summary: Korganizer doesn't save ical files according to standard
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-11 14:35 UTC by Geert Poels
Modified: 2009-03-04 22:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Error message (57.58 KB, image/png)
2009-02-15 09:31 UTC, Geert Poels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geert Poels 2007-03-11 14:35:57 UTC
Version:           3.5.5 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages

I imported an .ical file, which I had exported from Calendarshare (Windows).
Korganizer imported it flawlessly. Great !

Next I tried this verification website on the result of the import :
http://severinghaus.org/projects/icv/

I got errors.

Calendarshare allowed basically every character in the comments of an appointment.
I think that, while KOrganizer did a great job importing everything, it should filter out any illegal character.
The output of each save .ical file should be according to the standard.
Comment 1 Reinhold Kainhofer 2007-03-11 14:52:27 UTC
Am Sonntag, 11. M
Comment 2 Geert Poels 2007-03-11 15:24:19 UTC
I prefer not to post my complete personal agenda online :)
Here's the first error :

Sorry, your calendar could not be parsed.
Error: 	Error was: An error ocurred during parsing - line: 7
Cause: 	Caused by: Expected scheme-specific part at index 7: MAILTO:
Context for line 7:
4: 	BEGIN:VEVENT
5: 	DTSTAMP:20070311T134227Z
6: 	ORGANIZER:MAILTO:
7: 	X-DUALITYSOFT-ITEMTYPE:Meeting
8: 	CREATED:20070216T180400Z
9: 	UID:2BBBD44C-9789-43CA-8616-EB61338592E1
10: 	SEQUENCE:0


The file begins with :
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML KOrganizer 3.5.5//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20070311T134227Z
ORGANIZER:MAILTO:
X-DUALITYSOFT-ITEMTYPE:Meeting
CREATED:20070216T180400Z
UID:2BBBD44C-9789-43CA-8616-EB61338592E1
SEQUENCE:0
LAST-MODIFIED:20070311T095428Z

I also see the order of the entries jump with each change, but that's normal I suppose.
Comment 3 Allen Winter 2007-03-12 15:17:11 UTC
Could you run the verification on the .ical file after it was exported from Calendarshare?

i.e, we need to know if the problem is with the exporting or the importing.
Comment 4 Geert Poels 2007-03-12 17:13:26 UTC
That gives an error on something completely different :

Sorry, your calendar could not be parsed.
Error: 	Error was: An error ocurred during parsing - line: 545
Cause: 	Caused by: Illegal property [ DE COSTER & TOMMY WIERINGA\R\N\R\NMARJAN TEMMERMAN PRESENTEERT DRIE JONGE ]
Context for line 545:
542: 	UID:8FAA060C-A253-4813-95F8-5E3E84D0DB82
543: 	SUMMARY:Passa Porta
544: 	DESCRIPTION:donderdag 08 maart '07 - 20.00\r\nAnnelies Verbeke\, Saskia
545: 	De Coster & Tommy Wieringa\r\n\r\nMarjan Temmerman presenteert drie jonge 
Comment 5 Reinhold Kainhofer 2007-03-12 18:47:47 UTC
Am Montag, 12. M
Comment 6 Geert Poels 2007-03-12 21:05:34 UTC
hi Reinhold,

The problem of the original report is that KOrganizer does a great job at importing, but the resulting format should be a correct iCal and that's not the case.
For example, in this error there's a space missing.
But there are certainly others.
I don't know enough of the ical-format.
Would it be difficult to fix those errors ?

G
Comment 7 Reinhold Kainhofer 2007-03-13 00:30:17 UTC
Am Montag, 12. M
Comment 8 Reinhold Kainhofer 2007-03-13 00:43:30 UTC
Am Dienstag, 13. M
Comment 9 Geert Poels 2009-02-15 09:31:46 UTC
Created attachment 31322 [details]
Error message
Comment 10 Sergio Martins 2009-03-04 00:12:23 UTC
Geert, the errors in comment #2 were corrected by Allen a few days ago, the offending line was:

ORGANIZER:MAILTO:

Do you have more errors that should be corrected? Could you try removing these ORGANIZER:MAILTO: lines from your ical file and running it again in the validator?
Comment 11 Geert Poels 2009-03-04 22:00:30 UTC
Hi Sergio,

Good thing this fix was made.

I have good and bad news.
The good news is that I have been using Korganiser for two years now, fully Ubuntu.
So unfortunately, I don't have this file anymore and no Windows to get one... .

I can only recommend you get some ical files from different tools and platforms and try an import.

Sorry I can't help you more...

Geert
Comment 12 Allen Winter 2009-03-04 22:05:18 UTC
let's mark this closed then.
I think we have a fix in place now.

if someone else encounters the problem in 4.2.2 or 4.3.0, we can reopen.