[OGo-Developer] referredPerson in tasks
Adam Tauno Williams
developer@opengroupware.org
Tue, 13 May 2008 08:30:20 -0400
> while working on getting the extended Task attributes to work, I stumbled
> across the referredPerson, that can be enabled via a Default, unfortunately
> in the code I only found a lot of TODO: document ;)
> For me it seems, this feature is intended to be able to open a task, on
> behalf of a different person, like a helpdesk would do, and then save it in
> the obj_properties table in the database. Is this feature supposed to work?
No; I'm pretty sure this feature is incomplete. It does save the
attribute (I believe) but later it shows up very oddly - I tested this
feature one but can't find my notes now.
> I enabled the Default, but in the LSWJobEditor.m method, where it decided
> whether to show the Collapsible or not, it evaluates self->referredPerson,
> and if it is empty, then the collapsible is not shown.
> As it is always empty when I want to create task, and later on editing, I
> wonder, how was/is it intended to set the referredPerson?
If I recall correctly you could do something when the task was created.
It was so worthless I removed the documentation from WMOGAG and now I
can't find the snippet. :(
> Or was this just
> not implemented, if so, I'd go add this, as I think it might be useful.
> I'd add sth. comparable as it is done for the executant selection, so, any
> objections on that?
I'd *really* like this feature as we have people (help-desk-esque) open
tasks on behalf of others and we have to sneak around and change the
executant. But my preference would be to allow a certain cast of users
to create an executant with a creator other than themselves.
Unfortunately OGo doesn't have a role mechanism so you'd have to create
a new "internal" team akin to "news editors" or "team creators".