Active
Project:
Case Tracker
Version:
6.x-1.0-beta9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 02:43 UTC
Updated:
30 Aug 2012 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
nvahalik commentedConfirmed. This is definitely an issue. Steps to reproduce:
FWIW, it seem like the "Drupal-way" would be to always make the assign_to the name of the assigned user, just like the way the node edit forms store the author. I would imagine that changing this might have other implications if other modules use assign_to and stick UID values instead of strings in here. That would remove the ambiguity, though.
Comment #2
KungFuLucky7 commentedI created a patch to fix this issue so that casetracker will assign cases to users with numeric usernames. You can make this patch into a module if you like.
Comment #3
EmanueleQuinto commentedWe noticed the same issue on our Open Atrium instance at SF State as well.
Our problem comes from the fact that we are using Shibboleth as CAS and it needs the numeric SF State Id as username. We solved the issue without patching the casetracker module with a form_alter in our username feature (>6.x-1.0-alpha3) so that we use directly the UID.
If you prefer to handle in your module you can implement a form_alter hook as follow:
Comment #4
KungFuLucky7 commentedFollow-up with a better patch.