[Korganizer-devel] [Bug 271308] New: iCalendars with RDATE VALUE=PERIOD are not parsed correctly

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Tue Apr 19 19:21:32 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=271308

           Summary: iCalendars with RDATE VALUE=PERIOD are not parsed
                    correctly
           Product: kontact
           Version: 4.4.5
          Platform: Debian unstable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: calendar
        AssignedTo: korganizer-devel at kde.org
        ReportedBy: giuseppe.bilotta at gmail.com


Created an attachment (id=59138)
 --> (http://bugs.kde.org/attachment.cgi?id=59138)
A calendar exhibiting the problem

Version:           4.4.5 (using KDE 4.4.5) 
OS:                Linux

According to the iCalendar specification, an RDATE can have a value which is a
DATETIME, DATE or PERIOD format. KCalendar correctly parses DATE and DATETIME
formats, but an RDATE with VALUE=PERIOD is silently discarded.

Reproducible: Always

Steps to Reproduce:
Add the attached gpgpu.ics as a calendar and browse to April 2011

Actual Results:  
There is no event on April 20, 2011

Expected Results:  
An event on April 20, 2001, starting at 3pm and stopping at 5pm, should be
present

Replacing the

RDATE;VALUE=PERIOD:20110420T150000/PT2H

line with

RDATE:20110420T150000

makes the event appear, but last 4 hours instead of the 2 hours of the actual
event.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list