MozillaZine

Issue Creating multiple VEVENT by mail

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
cst44
 
Posts: 2
Joined: January 3rd, 2017, 3:19 am

Post Posted January 3rd, 2017, 3:37 am

Hi,
I'm trying to create multiple events in lightning calendar embedded in Thunderbird.
I managed to create a mail text/calendar format wich is well received by thunderbird.
I'm sure of that because the button 'Accept All' is displayed to accept all events creation in one step.

But when the button is clicked, all events are created in the last date.
I don't understand why.
If the atached ics file (exact same format) is used to import by menu, the different dates are well created.
I send the ics file to my professional mail and dates are well interpreted.
(as the mail itself is not received as an calendar mail, I think the problem is in mail format but I don't know how to attach the mail itself to this post).

Here is my ics source, thanks to tell me if I forgot something :
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//ABC Corporation//NONSGML My Product//EN
BEGIN:VEVENT
DTSTART:20170106T181500Z
DTEND:20170106T191500Z
SUMMARY:Distribution AMAP
DTSTAMP:20170106T000000Z
DESCRIPTION:1xPoulet 2kg
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
DTSTART:20170118T181500Z
DTEND:20170118T191500Z
SUMMARY:Distribution AMAP
DTSTAMP:20170118T000000Z
DESCRIPTION:1xss
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
DTSTART:20170120T181500Z
DTEND:20170120T191500Z
SUMMARY:Distribution AMAP
DTSTAMP:20170120T000000Z
DESCRIPTION:2xPoulet 2kg
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
DTSTART:20170203T181500Z
DTEND:20170203T191500Z
SUMMARY:Distribution AMAP
DTSTAMP:20170203T000000Z
DESCRIPTION:3xPoulet 2kg
SEQUENCE:0
END:VEVENT
END:VCALENDAR

burak
New Member
 
Posts: 1
Joined: January 5th, 2017, 4:43 am

Post Posted January 5th, 2017, 4:45 am

Hi,

I've fixed same issue used the below links.

https://gist.github.com/DeMarko/6142417

cst44
 
Posts: 2
Joined: January 3rd, 2017, 3:19 am

Post Posted January 6th, 2017, 6:24 pm

burak wrote:Hi,

I've fixed same issue used the below links.

https://gist.github.com/DeMarko/6142417


Hi,
That don't solve the issue.
Try to send a mail to your thunderbird mail account with your .ics file.
You will received the mail, then thunderbird will display a "All Accept" button.
When clicking 'Ok', you will have 2 events with the same date and time (last ones).
If you import (by menu) you will have the 2 events with desired date and time.

--> So, thanks to your post, since it give me the evidence it's a Thunderbird/Lightning bug, not an issue of my file format.

Regards.

Return to Calendar


Who is online

Users browsing this forum: No registered users and 1 guest