Bug 53891 - inconsistent/undocumented naming rules for schoolclasses
inconsistent/undocumented naming rules for schoolclasses
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-12 12:07 CEST by Dirk Ahrnke
Modified: 2021-10-12 12:07 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
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.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
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 Dirk Ahrnke univentionstaff 2021-10-12 12:07:42 CEST
It appears as if there is no documentation of naming rules for school classes. 
https://docs.software-univention.de/ucsschool-szenarien-4.4.html#concepts_names_user-classes only mentions that the school-OU is to be used as prefix. 

When trying to create a class named "AAA 1a -xxx- _A_" (which is a valid name for a group) though univention/management/#module=schoolwizards:schoolwizards/classes:0: the following error message appears:
"Name: Der Wert darf nur Ziffern, Buchstaben,
 Punkte, und Leerzeichen enthalten, muss mindestens 2 Zeichen lang sein, und mit einer Ziffer oder einem Buchstaben beginnen und enden."

This message is completely misleading as the creation of a class named "AAA 1a -xxx- _A" succeeds even if unmentioned and therefore possibly invalid characters are used.