Univention Bugzilla – Bug 46086
Scheme example not working
Last modified: 2020-10-13 07:57:57 CEST
The scheme example at: http://docs.software-univention.de/ucsschool-import-handbuch-4.2.html#configuration:scheme_formatting does not work (anymore). phone is now a list. The scheme needs to be changed. For example to: "phone": "+49-<phone>[0][1:]" Also phone is self referencing. In Bug 45972 we discussed that self referencing is a problem for some (all?) fields (for example the birthday field). A note about which fields are a problem might be needed. Or did I understood that wrong? :)
(In reply to Jürn Brodersen from comment #0) > The scheme example at: > http://docs.software-univention.de/ucsschool-import-handbuch-4.2. > html#configuration:scheme_formatting > does not work (anymore). > > phone is now a list. IMHO that's not a problem. It should create a list with one item. > Also phone is self referencing. Yes - that's wrong. The formatting-example should also be enhanced to include an example CSV-line and the resulting attribute values when the import has run.
I removed the self-referencing example and added an example which shows the impact of the formating schemes. FIXED in twenzel/46086_scheme_docu see also https://jenkins.knut.univention.de:8181/view/Doku/job/BuildDocBookBranchUCSSchool/23/artifact/webroot/ucsschool-import-handbuch-4.4.html#configuration:mapping
phone was removed from the example, since it should be done in formatting hooks CSV line and result was added to doc OK
Leave verified, merged to 4.4 [4.4] e09e07c14 Bug #46086: Merge branch 'twenzel/46086_scheme_docu' into 4.4 [4.4] 3be77032f Bug #46086: docu fix scheme example
UCS@school 4.4 v7 has been released. https://docs.software-univention.de/changelog-ucsschool-4.4v7-de.html If this error occurs again, please clone this bug.