Page MenuHomekolab.org

Roundcube show calendar invitation with wrong date
Closed, ResolvedPublic

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.

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:

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

Details

Ticket Type
Task

Event Timeline

aacunha created this task.May 27 2019, 8:28 PM

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

aacunha updated the task description. (Show Details)May 27 2019, 8:32 PM
machniak lowered the priority of this task from Needs Triage to Normal.May 29 2019, 12:01 PM
machniak added a subscriber: machniak.

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 closed this task as Resolved.May 31 2019, 11:22 AM
machniak claimed this task.

This was hard to track, but fixed.

machniak reopened this task as Open.May 31 2019, 11:56 AM

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

machniak closed this task as Resolved.Jun 7 2019, 12:26 PM

Fixed.

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//

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

You're using the outdated fork repo. The official one is here https://git.kolab.org/diffusion/RPK/repository/master/

aacunha added a comment.EditedJun 11 2019, 4:31 PM

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

the issue persist:

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?