Bug 53890 - school_classes_invalid_character_replacement should allow "_" as
school_classes_invalid_character_replacement should allow "_" as
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-12 11:23 CEST by Dirk Ahrnke
Modified: 2021-10-12 11:23 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 11:23:56 CEST
Groupns can contain an underscore ("_") at every position of the name.
This will also work for names of school-classes except when the underscore is used as a replacement for invalid characters during the import (school_classes_invalid_character_replacement).

see "valid_chars" in function  test_school_class_invalid_char_replacement_is_valid_char(self) of /usr/share/ucs-school-import/checks/defaults.py