[kronolith] error in kronolith calendar view for nag tasks...
Amith Varghese
amith at xalan.com
Thu Jan 23 16:06:41 PST 2003
Ok, I wasn't hearing much so I delved into the source... the kronolith stuff is
pretty complex. Kudos to the people who wrote it. With the help of
Horde::logMessage I think I found the problem. Attached is a patch. Basically
changed !empty to isset (the taskID of the nag task was 0 and !empty was
returning false).
Amith
> ----- Message from amith at xalan.com ---------
> Date: Wed, 22 Jan 2003 16:41:44 -0500
> From: Amith Varghese <amith at xalan.com>
> Reply-To: Amith Varghese <amith at xalan.com>
> Subject: [kronolith] error in kronolith calendar view for nag tasks...
> To: "kronolith at lists.horde.org" <kronolith at lists.horde.org>
>
> When I create tasks in Nag and have them display in kronolith, the first task
> does not display correctly. Under Mozilla the task appears as a narrow bar
> (without the "Due: test1" text). Under IE, it does not show at all. Please
> look at the below screen shot to see what I am talking about.
>
> http://www.cs.virginia.edu/~akv6p/kronolith.jpg
>
> There should be three nag tasks displaying
>
> Test1 due on the 25th of Jan
> Test2 due on the 26th of Jan
> Test3 due on the 27th of Jan
>
> It seems to only occur on the very first task that is created under nag
>
> Thanks
> Amith
>
>
> --
> Kronolith mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>
>
> ----- End message from amith at xalan.com -----
-------------- next part --------------
Index: lib/Event.php
===================================================================
RCS file: /repository/kronolith/lib/Event.php,v
retrieving revision 1.71
diff -u -r1.71 Event.php
--- lib/Event.php 22 Jan 2003 03:07:51 -0000 1.71
+++ lib/Event.php 23 Jan 2003 20:59:15 -0000
@@ -225,7 +225,7 @@
function getTitle()
{
- if (!empty($this->taskID) || isset($this->remoteCal) || isset($this->meetingID)) {
+ if (isset($this->taskID) || isset($this->remoteCal) || isset($this->meetingID)) {
return !empty($this->title) ? $this->title : _("[none]");
}
More information about the kronolith
mailing list