6.0.0-beta1
7/12/25

[#2346] Infinite loop for events spanning month end/beginning
Summary Infinite loop for events spanning month end/beginning
Queue Kronolith
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at)
Requester kevin_myer (at) iu13 (dot) org
Created 07/27/2005 (7290 days ago)
Due
Updated 08/01/2005 (7285 days ago)
Assigned 07/27/2005 (7290 days ago)
Resolved 08/01/2005 (7285 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/01/2005 10:53:08 PM Chuck Hagenbuch Comment #4
State ⇒ Resolved
Reply to this comment
Committed, thanks.
08/01/2005 09:08:51 PM marc (dot) fellman (at) gmail (dot) com Comment #3 Reply to this comment
The patch worked for me.
07/31/2005 09:57:34 PM mi (dot) braun (at) onlinehome (dot) de Comment #2
New Attachment: kronolith.diff Download
Reply to this comment
Hi



I've got the same problem and found out that the problem is a ++mday 
in Kronolith::_getEvents for non-repeating events where there is no 
$loopDate->correct() call and therefor the day of month is increased 
infinitely.

Please find attached a correcting diff for HEAD branch as well as 
FRAMEWORK_3 branch (cvs).
07/27/2005 01:25:43 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
07/27/2005 01:04:16 PM kevin_myer (at) iu13 (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Infinite loop for events spanning month end/beginning
Queue ⇒ Kronolith
Reply to this comment
Filing so this doesn't get lost..



Following 1.295 commit of lib/Kronolith.php (

http://cvs.horde.org/diff.php/kronolith/lib/Kronolith.php?r1=1.294&r2=1.295&ty=u) the following event sends Kronolith into an infinite 
loop:



BEGIN:VCALENDAR

VERSION:2.0

PRODID:-//The Horde Project//Horde_iCalendar Library //EN

METHOD:PUBLISH

BEGIN:VEVENT

DTSTART;VALUE=DATE:20050630

DTEND;VALUE=DATE:20050701

DTSTAMP:20050726T162753Z

UID:20050611203716.1ea4s0f39lfk@example.com

SUMMARY:Personal Day

TRANSP:OPAQUE

ORGANIZER;CN=First Last:MAILTO:first_last@example.com

CATEGORIES:Personal

END:VEVENT

END:VCALENDAR

Saved Queries