! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Event from external file displays wrong title when double-clicked
Status:
CLOSED: WORKSFORME

Comments

Description Jerome 2012-11-18 23:17:06 CET
To reproduce :

Data exchange -> external file

Add an external file with several events.

The events appear in the list in the main orage window. When double-clicked, an event shows a configuration window with all widgets greyed out. 

The title displayed (window title and event title) is the summary or description of the fist event of the external file, whichever event is clicked.
Comment 1 juha editbugs 2012-11-19 12:17:02 CET
This maybe a corruption in the external file.

Would it be possible to provide a test file to show this issue?
Comment 2 Jerome 2012-11-20 01:13:09 CET
Created attachment 4744 
Test case
Comment 3 Jerome 2012-11-20 01:16:27 CET
Sure. There it is.

I created it with gbirthday. If the error is in the .ics file, I'll do my best to modify gbirthday so as to generate a correct file.

This file has 2 events scehduled for the next days. Both should appear in the main orage window, assuming it is set to display enough days in advance. 

When clicking on the second event, the title refers to the first event.
Comment 4 juha editbugs 2012-11-20 10:12:01 CET
The problem happens because the 
UID:
Field is exactly the same for both (gbirthday-20121120T005238Z).
Orage relies on UID and bases all actions on UID. So if there are duplicates in UID, Orage is not able to make the difference.

I hope you can modify those so that they are unique.
Comment 5 Jerome 2012-11-20 10:28:50 CET
Hi.

You are absolutely right. The issue is on my side.

I did the .ics export in gbirthday and my implementation is incorrect as regards to RFC 2445. More generally, although I tried to refer to the spec, it is mostly trial and error, with orage as a "reference implementation".

I shall correct this UID issue soon, it's straightforward. I doubt anybody else than me uses this .ics export anyway...

Sorry about the noise...

Bug #9522

Reported by:
Jerome
Reported on: 2012-11-18
Last modified on: 2013-02-01

People

CC List:
0 users

Version

Attachments

Test case (1.02 KB, text/plain)
2012-11-20 01:13 CET , Jerome
no flags

Additional information