After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548656 - Emails using cancelled ical event not displayed correctly
Emails using cancelled ical event not displayed correctly
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-08-20 13:18 UTC by Sebastien Bacher
Modified: 2018-09-17 09:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sebastien Bacher 2008-08-20 13:18:59 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/257898

"Evolution is not display a correct panel for email attachment (mine text/calendar) when the ical attachment has a CANCELLED satus.
It display a panel to add an appointment and not one to remove an existing appointement
Same probleme when the Ical attachement has STATUS:CANCELLED and METHOD:CANCEL

the attachment work with other calendar softwares

evolution 2.22.3.1-0ubuntu1

http://launchpadlibrarian.net/16774254/msg.eml
msg.eml  (2.1 KiB, message/rfc822)"
Comment 1 Milan Crha 2018-09-17 09:19:07 UTC
Thanks for a bug report. I have a "meeting invitation mail", whose iCalendar object looks like this:

   BEGIN:VCALENDAR
   CALSCALE:GREGORIAN
   PRODID:-//Ximian//NONSGML Evolution Calendar//EN
   VERSION:2.0
   METHOD:CANCEL
   ....
   END:VCALENDAR

and it behaves properly in Evolution (I used current development version, which will be 3.31.1 soon, but I'm pretty sure it's the same in older versions, even 3.16, 3.12 or older).

Your test event says:

   BEGIN:VCALENDAR
   CALSCALE:GREGORIAN
   PRODID:-//CG80//NONSGML Extranet Colleges//FR
   VERSION:2.0
   ...
   BEGIN:VEVENT
   ...
   STATUS:CANCELLED
   METHOD:CANCEL
   ...
   END:VEVENT
   END:VCALENDAR

Notice the VCALENDAR has no METHOD. Briefly looking through RFC 5546 [1] I'd say it's not meant to have the METHOD part of the respective component, it is supposed to be part of the VCALENDAR itself. I will change evolution to look for it in the subcomponents when not found in the main component, but I'm not going to check also the STATUS property, because some calendaring systems regularly send recurring events with detached instances which are cancelled, thus that would cause only trouble.

[1] https://tools.ietf.org/html/rfc5546
Comment 2 Milan Crha 2018-09-17 09:56:27 UTC
Created commit 3cd558764c in evo master (3.31.1+)
Created commit 8dd908777d in evo gnome-3-30 (3.30.1+)