tags 309009 + patch thanks I've been setting nag up with a kolab backend and have been having some of the same issues (tasks seeming not to appear). In my case, I got it narrowed down to a bug in /usr/share/horde3/nag/lib/base.php. Although the bug was found and fixed in cvs[1], no new upstream package has been released. As such, I've attached what I believe is the appropriate diff from cvs to fix this issue.
[1] http://bugs.horde.org/ticket/?id=1360
diff -bB -p --unified=3 -r1.75.10.1 -r1.75.10.2
--- base.php 2004/12/24 01:12:56 1.75.10.1
+++ base.php 2005/02/11 15:27:47 1.75.10.2
@@ -2,7 +2,7 @@
/**
* Nag base inclusion file.
*
- * $Horde: nag/lib/base.php,v 1.75 2004/10/19 00:45:57 chuck Exp $
+ * $Horde: nag/lib/base.php,v 1.75.10.1 2004/12/24 01:12:56 chuck Exp $
*
* This file brings in all of the dependencies that every Nag
* script will need and sets up objects that all scripts use.
@@ -59,14 +59,13 @@ $GLOBALS['nag_shares'] = &Horde_Share::s
$GLOBALS['display_tasklists'] = @unserialize($GLOBALS['prefs']->getValue('display_tasklists'));
if (!$GLOBALS['display_tasklists']) {
$GLOBALS['display_tasklists'] = array();
-} else {
- if (($d_task = Util::getFormData('display_tasklist')) !== null) {
+}
+if (($d_task = Util::getFormData('display_tasklist')) !== null) {
if (in_array($d_task, $GLOBALS['display_tasklists'])) {
$key = array_search($d_task, $GLOBALS['display_tasklists']);
unset($GLOBALS['display_tasklists'][$key]);
} else {
$GLOBALS['display_tasklists'][] = $d_task;
- }
}
}
signature.asc
Description: OpenPGP digital signature

