Page MenuHomePhorge

Kontact reoccurring event edit - doesn't change time zone
Closed, ResolvedPublic

Description

We have a issue with UTC and reoccurring events - the are displayed not correctly. The suggested workaround to edit each such event and change time zone doesn't work, because of possible bug in Kontact:
Looks like Kontact doesn't upload time zone information if new event time + zone is equivalent to what was. Example:

9:00 UTC = 10:00 Europe/Berlin

That is the same time, so nothing changes and Kontact doesn't upload that information.
If you just change the time zone from UTC to Europe/Berlin and don't change event time then event is shifted by 1 hour and that is uploaded to IMAP with all new information.
So to workaround UTC issue you need to change event time zone and time, so it doesn't match 1:1 with previous time, like:

9:00 UTC != 10:01 Europe/Berlin.

The bug: Kontact doesn't change event time and zone if new time and zone makes event to happen at exactly the same time.
The expected behaviour: The changes are updated in IMAP.

I was testing with the event, which initially looked like this:

Date: Sun, 03 Apr 2016 02:22:39 +0000
X-Kolab-Type: application/x-vnd.kolab.event
X-Kolab-Mime-Version: 3.0
User-Agent: Libkolab-0.6.0
Content-Type: multipart/mixed; boundary="nextPart31755309.Aec7X2G0lB"
From: Sebastian <Organizer email>
Subject: libkcal-153172812.205
MIME-Version: 1.0


--nextPart31755309.Aec7X2G0lB
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7Bit

This is a Kolab Groupware object.
To view this object you will need an email client that can understand the Kolab Groupware format.
For a list of such email clients please visit
http://www.kolab.org/get-kolab

--nextPart31755309.Aec7X2G0lB
Content-Type: application/calendar+xml; name="kolab.xml"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="kolab.xml"

<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"no" ?>
<icalendar xmlns=3D"urn:ietf:params:xml:ns:icalendar-2.0">

  <vcalendar>
    <properties>
      <prodid>
        <text>Libkolab-0.6.0 Libkolabxml-1.1.4</text>
      </prodid>
      <version>
        <text>2.0</text>
      </version>
      <x-kolab-version>
        <text>3.1.0</text>
      </x-kolab-version>
    </properties>
    <components>
      <vevent>
        <properties>
          <uid>
            <text>libkcal-153172812.205</text>
          </uid>
          <created>
            <date-time>2016-01-28T10:07:17Z</date-time>
          </created>
          <dtstamp>
            <date-time>2016-01-28T10:39:45Z</date-time>
          </dtstamp>
          <sequence>
            <integer>0</integer>
          </sequence>
          <class>
            <text>PUBLIC</text>
          </class>
          <dtstart>
            <date-time>2016-01-29T08:00:00Z</date-time>
          </dtstart>
          <dtend>
            <date-time>2016-01-29T12:30:00Z</date-time>
          </dtend>
          <rrule>
            <recur>
              <freq>WEEKLY</freq>
              <until>
                <date-time>2016-03-04T08:00:00Z</date-time>
              </until>
              <byday>FR</byday>
            </recur>
          </rrule>
          <summary>
            <text>Blocker: Bitte nicht stoeren!</text>
          </summary>
          <organizer>
            <parameters>
              <cn>
                <text>My Name</text>
              </cn>
            </parameters>
            <cal-address>mailto:%3Cmy@email%=
3E</cal-address>
          </organizer>
          <attendee>
            <parameters>
              <cn>
                <text>My Name 2</text>
              </cn>
              <partstat>
                <text>ACCEPTED</text>
              </partstat>
              <role>
                <text>REQ-PARTICIPANT</text>
              </role>
              <rsvp>
                <boolean>true</boolean>
              </rsvp>
            </parameters>
            <cal-address>mailto:%3Cmy@email2%3E</cal-addr=
ess>
          </attendee>
          <attendee>
            <parameters>
              <cn>
                <text>My Name</text>
              </cn>
              <partstat>
                <text>ACCEPTED</text>
              </partstat>
              <role>
                <text>REQ-PARTICIPANT</text>
              </role>
            </parameters>
            <cal-address>mailto:%3Cmy@email2%=
3E</cal-address>
          </attendee>
        </properties>
      </vevent>
    </components>
  </vcalendar>

</icalendar>

--nextPart31755309.Aec7X2G0lB--

Details

Ticket Type
Task

Event Timeline

petersen raised the priority of this task from 60 to High.Apr 14 2016, 4:04 PM
mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 15 2016, 1:02 PM
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 15 2016, 3:27 PM
knauss moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
mollekopf moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 29 2016, 2:16 PM