6.0.0-RC7
6/27/26

[#2104] Client dropdown gets renumbered when using numeric client ids
Summary Client dropdown gets renumbered when using numeric client ids
Queue Hermes
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester thomas (at) gelf (dot) net
Created 6/8/05 (7689 days ago)
Due
Updated 6/8/05 (7689 days ago)
Assigned
Resolved 6/8/05 (7689 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
517 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, thanks.
307 thomas (at) gelf (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Client dropdown gets renumbered when using numeric client ids
Queue ⇒ Hermes
New Attachment: hermes_numeric_client_ids.diff Download
Reply to this comment
* hermes/lib/TimeForm.php creates a dropdown (enum) with all clients 
from Hermes::listClients()

* if id is an md5 sum as for example with turba's localsql source 
everything is fine

* if id is a plain integer array keys will be renumbered because of 
array_merge's default behaviour - and that's why form and table are 
then going to show different customers for the same entry


Saved Queries