Posted by basvredeling on October 4, 2012 at 4:21pm
1 follower
| Project: | Case Tracker |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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:
<?php
array('uid' => 'username',);
?>the autocomplete just returns:
<?php
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)
| Attachment | Size |
|---|---|
| assign_to_action_autocomplete_uid_replacement.patch | 1.14 KB |