"Text cannot be parsed to a Duration" on a TRIGGER duration



  • Hello,

    I encountered the bug today. Here is the ICS:

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//Sabre//Sabre VObject 4.1.3//EN
    BEGIN:VEVENT
    CREATED:20191223T054910Z
    LAST-MODIFIED:20200309T152504Z
    DTSTAMP:20200309T152504Z
    DTSTART;VALUE=DATE:20201003
    TRANSP:OPAQUE
    X-OBM-ALL-DAY:1
    SEQUENCE:1
    SUMMARY:Eco trail 30 kms
    DESCRIPTION:
    CLASS:PUBLIC
    PRIORITY:5
    ORGANIZER;X-OBM-ID=124;CN=SOMEONE:MAILTO:jhon@acme.com
    X-OBM-DOMAIN:acme.com
    X-OBM-DOMAIN-UUID:02834f7c-d10e-102f-acda-0015176f7922
    LOCATION:Château de Meudon
    CATEGORIES:
    X-OBM-COLOR:
    X-OBM-ALERT;X-OBM-ID=124:111600
    UID:e7985252-c51e-4dc6-a30f-3464d4ce630b
    ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=TRUE;CN=SOMEONE;PARTSTAT=ACCEPT
     ED;X-OBM-ID=124:MAILTO:jhon@acme.com
    BEGIN:VALARM
    TRIGGER:P111600S
    ACTION:display
    DESCRIPTION:Eco trail 30 kms
    END:VALARM
    END:VEVENT
    END:VCALENDAR
    

    (I changed the people name & email for privacy concerns…)

    I attach the debug file from davx5. Line 27 seems to be “TRIGGER:P111600S”

    ICS file:
    debug-info.txt

    I used ical validator https://icalendar.org/validator.html and it seems to be a valid ICS. Also I read the RFC and I could not find something wrong.

    Do someone have any idea ?


  • developer

    Hi,

    @MichaelBailly said in "Text cannot be parsed to a Duration" on a TRIGGER duration:

    TRIGGER:P111600S
    

    I think it should be PT111600S. Does it work when you change the iCalendar (add the missing T)?


Log in to reply
 

Similar topics