Page MenuHomePhorge

Roundcube show calendar invitation with wrong date
Closed, ResolvedPublic

Assigned To
Authored By
aacunha
May 27 2019, 8:28 PM
Referenced Files
F4364351: image.png
Jun 11 2019, 4:31 PM
F4361720: image.png
Jun 10 2019, 9:04 PM
F4310279: image.png
May 27 2019, 8:30 PM
F4310285: image.png
May 27 2019, 8:30 PM
F4310258: image.png
May 27 2019, 8:28 PM
F4310252: image.png
May 27 2019, 8:28 PM
F4310267: image.png
May 27 2019, 8:28 PM
Subscribers

Description

I'm using the kolab calendar to generate events in my corporation. But, when i create one event of type "all day", the email of confirmation send to participants is showed with wrong date in roundcube.

For test, i created one event with name "test", with allday option checked.

image.png (582×593 px, 35 KB)

I invited one email of my domain and one external email (gmail). In the email of my domain, the roundcube show de invitation with one day before of correct day.
In the gmail, the date showed in invitation is correct.

My ambient:
Roundcube 1.3.9
Plugins installed:
Plugin Versão
acl 1.6
calendar 3.4.5
emoticons 2.0
filesystem_attachments 1.0
jqueryui 1.12.0
jsxc 3.3.2
libcalendaring 3.4.5
managesieve 8.7
markasjunk2 1.9-git
mobile 0.4.8
newmail_notifier 0.8
password 4.2
zipdownload 3.3

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-Roundcube libcalendaring 1.3.9SabreSabre VObject 3.3.3EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:4FE58A7601F87BAD3929C16AE22953A0-FF9EF9B5374990FB
DTSTAMP:20190503T133143Z
CREATED:20190503T133143Z
LAST-MODIFIED:20190503T133143Z
DTSTART;VALUE=DATE:20190504
DTEND;VALUE=DATE:20190505

SUMMARY:test
SEQUENCE:0
TRANSP:OPAQUE
CLASS:PUBLIC
ATTENDEE;CN=Andre Cunha;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPA
NT;CUTYPE=INDIVIDUAL;RSVP=TRUE:mailto:participant1@domain_local
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;RSVP=
TRUE:mailto:participant2@domain2
ORGANIZER;CN=Owner_name:mailto:owner@domain_local
END:VEVENT
END:VCALENDAR
Invitation on roundcube:

image.png (382×899 px, 48 KB)

Invitation on gmail
(https://github.com/roundcube/roundcubemail/files/3143147/invitation_email.txt)
:

image.png (401×973 px, 52 KB)

Details

Ticket Type
Task

Event Timeline

When i change the timezone in user preferences on roundcube, from "auto" to "GMT (+00:00) UTC" the invitation is displayed correct.

image.png (189×691 px, 15 KB)

image.png (373×625 px, 42 KB)

machniak lowered the priority of this task from Needs Triage to Normal.May 29 2019, 12:01 PM
machniak subscribed.

I think I saw this before, but never had time to work on this. Probably the date is handled as date-time and converted to user timezone, but should not for all-day events.

exactly, this bug only occur in "all day" events.

The attributes DTSTART and DTEND are generated without the timezone, perhaps is because this the bug occur.

machniak claimed this task.

This was hard to track, but fixed.

I'm reopening this as there are more related issues. E.g. the Check Calendar button points to the wrong date.

The issue persist for me:

//Package operations: 2 installs, 0 updates, 0 removals

  • Installing kolab/libcalendaring (dev-master db753b2): Cloning db753b2553

Do you want to activate the plugin libcalendaring? [N|y] y

  • Installing kolab/calendar (dev-master d3b7484): Cloning d3b7484d91

Do you want to activate the plugin calendar? [N|y] y//

image.png (371×622 px, 42 KB)

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-
Roundcube libcalendaring 1.3.8SabreSabre VObject 3.3.3EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
UID:71FBABF40310FE3B87C73178E75DE9E4-FF9EF9B5374990FB
DTSTAMP:20190607T150305Z
CREATED:20190607T150303Z
LAST-MODIFIED:20190607T150303Z
DTSTART;VALUE=DATE:20190611
DTEND;VALUE=DATE:20190612
SUMMARY:teste3
SEQUENCE:0
TRANSP:OPAQUE
CLASS:PUBLIC

with the repo
git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git

the issue persist:

image.png (373×636 px, 42 KB)

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-Roundcube libcalendaring 1.3.9SabreSabre VObject 3.3.3EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
UID:5C71F39D6B9125E3C79B62F06532BA3E-FF9EF9B5374990FB
DTSTAMP:20190611T143025Z
CREATED:20190611T143022Z
LAST-MODIFIED:20190611T143022Z
DTSTART;VALUE=DATE:20190613
DTEND;VALUE=DATE:20190614
SUMMARY:teste21
SEQUENCE:0
TRANSP:OPAQUE
CLASS:PUBLIC

with this version, i got error 500 to open calendar UI:

[11-Jun-2019 11:34:45 America/Sao_Paulo] PHP Fatal error: Call to protected method rcmail_output_html::search_form() from context 'calendar_ui' in /var/www/roundcubemail-1.3.9/plugins/calendar/lib/calendar_ui.php on line 795

Comment out this line solve the problem.

This version does not work with Roundcube 1.3.

This version does not work with Roundcube 1.3.

Sorry, i didn't know that. What version of roundcube is compatible?