Bug 50606 - ucsschool-import-handbuch: Document import key "allowed_missing_columns"
ucsschool-import-handbuch: Document import key "allowed_missing_columns"
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Documentation
UCS@school 4.4
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
: 49420 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-06 11:37 CET by Michael Grandjean
Modified: 2019-12-18 11:18 CET (History)
1 user (show)

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 Michael Grandjean univentionstaff 2019-12-06 11:37:41 CET
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"]
    },
Comment 1 Daniel Tröder univentionstaff 2019-12-06 12:27:19 CET
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.
Comment 2 Michael Grandjean univentionstaff 2019-12-18 11:18:53 CET
*** Bug 49420 has been marked as a duplicate of this bug. ***