Bug 50790 - Sort Class Lists To Have Identical Results
Sort Class Lists To Have Identical Results
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Class lists
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-05 12:16 CET by Christian Völker
Modified: 2023-10-26 12:21 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020020421000859
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2020-02-05 12:16:12 CET
When generating class lists the content of the "class" field is derived from OpenLDAP. Due to the nature of OpenLDAP the result of the query can differ depending on which server we execute the query.


=====================================
root@ucs1:~# univention-ldapsearch "(&(univentionObjectType=groups/group)(memberUid=studentid))" dn | ldapsearch-wrapper | egrep ^dn: | grep klassen | head -2 )

dn: cn=schule1-10b,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs 
dn: cn=schule1-10c,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs 

=====================================
root@ucs2:~# univention-ldapsearch "(&(univentionObjectType=groups/group)(memberUid=studentid))" dn | ldapsearch-wrapper | egrep ^dn: | grep klassen | head -2 )

dn: cn=schule1-10c,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs 
dn: cn=schule1-10b,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs 
=====================================


Not having the concept of a "main class" we should at least consider to have the output consistent and independent of the server we are querying...