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

zeezhao’s picture

Some 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

zeezhao’s picture

Issue summary: View changes

code corection