Re: PEAR Calendar Decorator / Week bug?

From: Date: Sat, 17 Apr 2004 11:18:13 +0000
Subject: Re: PEAR Calendar Decorator / Week bug?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11929@lists.php.net to get a copy of this message
Hi Markus, sorry for the delay, but I don't always read pear-general, so I almost missed your mail. On Fri, 16 Apr 2004 00:43:58 +0200, Markus Konrad wrote: > I'm using the PEAR::Calendar and Calendar_Decorator classes for an > event planner. It works great in the month and day view, but in the > week view the decorator doesn't seem to save the events. I could > not figure out the problem and so I tried to reproduce it with the > example no. 11 in the documentation > > [snip] > > It will display a "Fatal error: Call to undefined function: > getentry() on line 88". Somehow the decorator does not save the > events. I rewrote it to display a whole month and it worked again! > Is this really a bug or did I overlook something? it is a bug, indeed :-) Many thanks for the reproducing script! You can grab the fixed version here (rev 1.19): http://cvs.sourceforge.net/viewcvs.py/pearcalendar/calendar/Week.php (please note that it may take a while for the changes to be replicated on every sourceforce mirror) Next time please open a bug on pearweb: http://pear.php.net/bugs/search.php?cmd=display&status=Open&bug_type[]=Calendar so we won't miss your post! Best regards, Lorenzo

« previous php.pear.general (#11929) next »