Skip Menu |

This queue is for tickets about the Data-ICal CPAN distribution.

Report information
The Basics
Id: 108183
Status: open
Priority: 0/
Queue: Data-ICal

People
Owner: Nobody in particular
Requestors: jiri.macha [...] extendit.cz
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.22



Subject: ATTENDEE - arguments separation - use semicolon instead of colon
Date: Fri, 30 Oct 2015 10:59:53 +0100
To: bug-Data-ICal [...] rt.cpan.org
From: "Mácha, Jiří" <jiri.macha [...] extendit.cz>
Hello everybody, I wanted to add an attendee to the VEVENT. I have used $Vevent->add_properties(attendee => $String,) method. Result was: ATTENDEE:CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;CN=Nespokojenej Zakaznik\ ;X-NUM-GUESTS=0:MAILTO:nespokojenej.zakaznik@centrum.cz I did some validation afterwards and find out that correct should be ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;CN=Nespokojenej Zakaznik\ ;X-NUM-GUESTS=0:MAILTO:nespokojenej.zakaznik@centrum.cz See e.g. https://www.ietf.org/rfc/rfc2445.txt section Attendee. Don´t know if this is a bug or not. Maybe this post will help other devs. Take care, Jiri -- *Mgr. Jiří Mácha | System / Software Engineeer | Extend IT*, s.r.o. Cell : +420 721 373 933 | Skype: jiri_macha_84 | Phone : +420 246 028 215 Address : Pražská 636, Dolní Břežany, 252 41, Czech Republic Web-sites : extendit.cz <http://www.extendit.cz/?source=jp_vizitka> | twitter.com/ExtendITcz | linkedin.com/in/jirimacha <http://www.linkedin.com/in/jirimacha>*Perl programming, OTRS Helpdesk *(booklet) <http://www.extendit.cz/sites/default/files/extendit_booklet.pdf?source=jp_vizitka>
The same issue occurs when adding date properties that include a TZID attribute. Data::ICal::Property::as_string will generate something like this: DTSTART:TZID=Europe/London:20170213T133000 But according to the specs (see https://icalendar.org/iCalendar-RFC-5545/3-3-5-date-time.html) the correct version is: DTSTART;TZID=Europe/London:20170213T133000