Hi!
I hacked the code a bit, and I think this improvent is needed:
change the line 244 of casetracker.module from
$new->assign_to = casetracker_get_uid($new->assign_to);
to
if(casetracker_get_uid($new->assign_to)==0){
$new->assign_to = casetracker_get_uid(casetracker_get_name());
} else {
$new->assign_to = casetracker_get_uid($new->assign_to);
}
This will assign an unassigned task to the default user.
Comments
Comment #1
zeezhao commentedSome workflows require that tasks are unassigned, so that someone can then get assigned to them.
You are better off setting the "Default assigned user" via the existing setting here: admin/settings/casetracker
Comment #1.0
zeezhao commentedcode corection