Summary | synml broken because of tasklist required on update |
Queue | Nag |
Queue Version | 2.3.1 |
Type | Bug |
State | Duplicate |
Priority | 2. Medium |
Owners | |
Requester | michael-dev (at) fami-braun (dot) de |
Created | 04/09/2009 (5941 days ago) |
Due | |
Updated | 04/16/2009 (5934 days ago) |
Assigned | |
Resolved | 04/16/2009 (5934 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Duplicate
Ticket #8175.State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ synml broken because of tasklist required on update
Queue ⇒ Nag
Milestone ⇒
Patch ⇒ Yes
because the tasklist of a task is updated to NULL which does not exist.
/usr/share/horde/horde/nag/lib/Driver.php:345 fails because $share is
a pear error and $tasklist is NULL.
Solution: Update line 322 to
if ($task->tasklist != $tasklist && $tasklist != null) {
preventing updating to an empty tasklist.
Calling modify with tasklist=NULL seems valid to me as $tasklist is
marked optional in the declaration.