6.0.0-beta1
9/23/25

[#3352] DTSTART appearing alone causes errors
Summary DTSTART appearing alone causes errors
Queue Kronolith
Queue Version 2.1-RC1
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester stpierre (at) nebrwesleyan (dot) edu
Created 01/27/2006 (7179 days ago)
Due
Updated 02/07/2006 (7168 days ago)
Assigned 01/27/2006 (7179 days ago)
Resolved 02/07/2006 (7168 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/07/2006 10:55:24 PM Jan Schneider State ⇒ Duplicate
 
01/27/2006 09:49:12 PM Matt Selsky State ⇒ Feedback
 
01/27/2006 09:48:44 PM Matt Selsky Comment #2 Reply to this comment
I think this was fixed in 2.1 already by bug #3243.  Can you try this patch?



http://cvs.horde.org/diff.php/kronolith/lib/Driver.php?r1=1.116.2.33&r2=1.116.2.34&ty=u



Or upgrade to a 2.1 snapshot.
01/27/2006 09:18:50 PM stpierre (at) nebrwesleyan (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ DTSTART appearing alone causes errors
Queue ⇒ Kronolith
New Attachment: sample-event.ics Download
Reply to this comment
Sun's Calendar Express exports calendars in iCalendar format, and some 
repeating events appear to only have a DTSTART tag, no DTEND tag.   
When this happens, the DTSTART tag always has the parameter 
VALUE=DATE.  I've attached a sample event from a real calendar that 
shows this. When trying to import a calendar with such an event, 
Kronolith errors out.



The iCalendar standard isn't crystal clear on whether or not this is 
okay, but the RFC does contain an example where it apperas that there 
is no DTEND tag, which suggests that Sun's Calendar does the right 
thing and Horde does not.  The example from RFC 2445:



  Example: The following is an example of the "VJOURNAL" calendar

    component:



      BEGIN:VJOURNAL

      UID:19970901T130000Z-123405@host.com

      DTSTAMP:19970901T1300Z

      DTSTART;VALUE=DATE:19970317

      SUMMARY:Staff meeting minutes

      DESCRIPTION:1. Staff meeting: Participants include Joe\, Lisa

        and Bob. Aurora project plans were reviewed. There is currently

        no budget reserves for this project. Lisa will escalate to

        management. Next meeting on Tuesday.\n

        2. Telephone Conference: ABC Corp. sales representative called

        to discuss new printer. Promised to get us a demo by Friday.\n

        3. Henry Miller (Handsoff Insurance): Car was totaled by tree.

        Is looking into a loaner car. 654-2323 (tel).

      END:VJOURNAL



(From page 56.)



Using the SQL driver, the error happens on line 784:



783>       // Event end.

784>        $this->_properties['event_end'] = date('Y-m-d H:i:s', 
$this->end->timestamp());



The call to a method $this->end errors out because there is no end 
explicitly specified.

Saved Queries