Bug 34480 - sort order of UMC object search is not locale aware
sort order of UMC object search is not locale aware
Status: CLOSED DUPLICATE of bug 44361
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Jürn Brodersen
Florian Best
:
: 41605 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-07 10:28 CEST by Philipp Hahn
Modified: 2023-03-25 06:52 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Internationalization
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-04-07 10:28:49 CEST
is: kahn, kolbe, kähler
expected: kähler, kahn, kolbe

See: <http://de.wikipedia.org/wiki/Alphabetische_Sortierung#Deutschland>

# udm users/user create --set lastname=Kahn --set password=univention --set username=kahn
# udm users/user create --set lastname=Kähler --set password=univention --set username=kähler
# udm users/user create --set lastname=Kolbe --set password=univention --set username=kolbe
# umc-command -U Administrator -P univention -r udm/query -o container=all -o objectType="users/user" -o objectProperty=username -o objectPropertyValue='k*'
07.04.14 10:29:55.729  DEBUG_INIT
Response: COMMAND
  data length   :  855
  message length:  788
  ---
  ARGUMENTS: ['udm/query']
MIMETYPE   : application/json
  STATUS   : 200
  MESSAGE  : None
  RESULT   : [ { '$childs$': False,
    '$dn$': 'uid=krbtgt,cn=users,dc=phahn,dc=dev',
    'labelObjectType': 'Benutzer',
    'name': 'krbtgt',
    'objectType': 'users/user',
    'path': 'dev.phahn:/users',
    'username': 'krbtgt'},
  { '$childs$': False,
    '$dn$': u'uid=k\xe4hler,dc=phahn,dc=dev',
    'labelObjectType': 'Benutzer',
    'name': u'k\xe4hler',
    'objectType': 'users/user',
    'path': 'dev.phahn:/',
    'username': u'k\xe4hler'},
  { '$childs$': False,
    '$dn$': 'uid=kahn,dc=phahn,dc=dev',
    'labelObjectType': 'Benutzer',
    'name': 'kahn',
    'objectType': 'users/user',
    'path': 'dev.phahn:/',
    'username': 'kahn'},
  { '$childs$': False,
    '$dn$': 'uid=kolbe,dc=phahn,dc=dev',
    'labelObjectType': 'Benutzer',
    'name': 'kolbe',
    'objectType': 'users/user',
    'path': 'dev.phahn:/',
    'username': 'kolbe'}]

Looks like the JavaScript code in the front-end gets it wrong.
Comment 1 Florian Best univentionstaff 2015-05-07 20:28:41 CEST
What do you expect? That the list is sorted by 'name'?
Comment 2 Philipp Hahn univentionstaff 2015-05-08 08:15:10 CEST
(In reply to Florian Best from comment #1)
> What do you expect? That the list is sorted by 'name'?

RTFBR:

(In reply to Philipp Hahn from comment #0)
> is: kahn, kolbe, kähler
> expected: kähler, kahn, kolbe
Comment 3 Florian Best univentionstaff 2017-04-24 13:51:57 CEST

*** This bug has been marked as a duplicate of bug 44361 ***
Comment 4 Florian Best univentionstaff 2017-04-24 13:52:29 CEST
Yes, duplicate!
Comment 5 Florian Best univentionstaff 2017-07-17 16:59:53 CEST
*** Bug 41605 has been marked as a duplicate of this bug. ***