Bug 47304 - Add possibility to deactivate normalization of firstname and lastname
Summary: Add possibility to deactivate normalization of firstname and lastname
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: Import scripts
Version: UCS@school 4.3
Hardware: Other Linux
: P5 normal
Target Milestone: UCS@school 4.3 v5
Assignee: Sönke Schwardt-Krummrich
QA Contact: Daniel Tröder
URL:
Keywords:
Depends on:
Blocks: 47351 48650
  Show dependency treegraph
 
Reported: 2018-07-04 15:52 CEST by Sönke Schwardt-Krummrich
Modified: 2019-02-12 08:55 CET (History)
2 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?: 3: Will affect average number of 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):
Customer ID: 00009, 17994, 20677
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2018-07-04 15:52:04 CEST
The new importer automatically normalizes first name and last name (and also some other fields). This means that all umlauts are replaced with ASCII chars.

At least one customer requires UTF-8 characters in firstname, lastname and displayName.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2018-07-12 15:18:39 CEST
2 new JSON config variables have been introduced to disable the normalization for first and last name:
- normalization:firstname
- normalization:lastname

The default is "true", so no change in behaviour.

ucs-school-import (16.0.2-24)
f3d8ef79c2a0 | Bug #47304: add possibility to deactivate normalization of firstname and lastname
Comment 2 Daniel Tröder univentionstaff 2018-07-27 15:48:06 CEST
OK: backwards compatible configuration change (defaults in code and json config)
OK: documented in import manual (http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/Handbook/5/artifact/webroot/ucsschool-import-handbuch-4.3.html)
OK: manual test

I added "<:umlauts>" to scheme:email in ucs-school-testuser-import.json, because otherwise the ucs-school-testuser-import script fails, when creating email addresses with umlauts: 5658b00b0

Generally "<:umlauts>" has to be added to all schemes that depend on "firstname" or "lastname" and require normalization.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-09-11 11:34:33 CEST
UCS@school 4.3 v5 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.3v5-de.html

If this error occurs again, please clone this bug.