6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/7/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7907] assignee parameter in task (nag) raises php-error on task objects create with former nag versions
*
Your Email Address
*
Spam protection
Enter the letters below:
.. ..__ .___..___ || |[__) | [__ \__||__|[__) | [___
Comment
> i upgraded a kolab driven nag version without support for the > ,,assignee'' field (it has been recently added, hasn't it?) to a nag > version that implements the ,,assignee''-field (cvs checkout from > 20081223). > > > > when opening the task list with the cvs-20081223 nag version i get > the following php-error: > > > > Warning: in_array() [function.in-array]: Wrong datatype for second > argument in > /usr/local/share/_horde-versions_/horde4-cvs+git-20081223/horde/nag/templates/list/task_headers.inc on line > 33 > > > > i have looked at the code a bit and it looks like the Nag_Task object > construction completely relies on the fields in the storage backend. > in my case i have ,,old'' kolab task objects that miss the > ,,assignee''-field. if only the fields of my old kolab task object > form the properties of my horde Nag_Task object then of course the > ,,assignee''-field is missing in the Nag_Task object that ends up > with the above php-error. > > > > to my point of view a Nag_Task object construction should setup the > properties from backend, if missing there null properties should be > created in the Nag_Task. currently, something similar seems to be > done when saving the Nag_Task object back to the kolab backend (it is > done in the kolab backend, i think...).
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers