Univention Bugzilla – Bug 50606
ucsschool-import-handbuch: Document import key "allowed_missing_columns"
Last modified: 2024-04-17 13:21:24 CEST
It's possible to define "allowed_missing_columns" in the config file for the user import. This is very handy if we have different columns in the CSV files for different roles (e.g. teachers have a column for the self-service recovery e-mail address, but student don't). AFAICS this is missing from http://docs.software-univention.de/ucsschool-import-handbuch-4.4.html#configuration:json_format:userimport and needs to be added. example: "csv": { "mapping": { "Username":"username", "Passwort": "password", "Nachname": "lastname", "Vorname": "firstname", "Geburtsdatum": "birthday", "Email": "PasswordRecoveryEmail" }, "allowed_missing_columns": ["Username", "Passwort", "Email"] },
It's in /usr/share/doc/ucs-school-import/user_import_configuration_readme.txt: https://git.knut.univention.de/univention/ucsschool/blob/4.4/ucs-school-import/usr/share/doc/ucs-school-import/user_import_configuration_readme.txt#L46 It should be copied to the manual.
*** Bug 49420 has been marked as a duplicate of this bug. ***
This bug hasn't seen any update for several years. I close it. If you still see a need for it, you can reopen the bug. Please add an argumentation about why it's important to take care of it.