Needs review
Project:
Case Tracker
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2012 at 16:21 UTC
Updated:
4 Oct 2012 at 16:21 UTC
If the casetracker_actions assign to action is selected and there are a lot of assignable users, the user select list is replaced by an autocomplete. Where the select list returns values in the form:
array('uid' => 'username',);
the autocomplete just returns:
array('username',);
After submitting, the case will be assigned to anonymous because a non-numeric uid (username instead of uid) was entered. This patch solves the problem during submit by checking for a numeric value and searching for a valid username => uid replacement. I'd prefer it if the autocomplete was fixed, but this works fine too. (see patch)
| Comment | File | Size | Author |
|---|---|---|---|
| assign_to_action_autocomplete_uid_replacement.patch | 1.14 KB | basvredeling |