Univention Bugzilla – Bug 43428
DisplayName not saved in settings/usertemplate
Last modified: 2017-04-04 18:29:24 CEST
Task #6641 - UCS Technical training udm settings/usertemplate create --position "cn=templates,cn=univention,$(ucr get ldap/base)" --set name=test --set displayName='<lastname>, <firstname>' udm settings/usertemplate list --position "cn=templates,cn=univention,$(ucr get ldap/base)"|grep -v None DN: cn=test,cn=templates,cn=univention,dc=schulung4,dc=ucs CtxCfgClientPrinters: 0 disabled: 1 CtxRASDialin: E CtxShadow: 00000000 CtxStartprogramClient: 0 CtxCfgPresent: 551e0bb0 unixhome: /home/ CtxReconnectSession: 0000 shell: /bin/bash CtxCfgFlags1: 00000000 CtxCfgDefaultClientPrinters: 0 CtxBrokenSession: 0000 name: test CtxCfgClientDrivers: 0 CtxCfgTSLogon: 1 but not displayName!
univention/admin/handlers/settings/usertemplate.py 85 »···'displayName': univention.admin.property( 89 »···»···options=['posix'], See Bug #29672 for departmentNumber and employeeType 271 »···'departmentNumber': univention.admin.property( 276 »···»···options=['person'], ... 281 »···'employeeType': univention.admin.property( 286 »···»···options=['person'], I would guess that "options" is handled wrong here.
Created attachment 8378 [details] Bug #43428 udm: Remove options from user template settings/usertemplate itself has no options: 50 options = { 51 } so the template strings are never saved
r76155 | Bug #43428,Bug #42765,Bug #29672: udm usertemplate r76154 | Bug #42765,Bug #43428,Bug #29672 test: usertemplate r76153 | Bug #43428 udm: Remove options from user template Package: univention-directory-manager-modules Version: 12.0.12-6A~4.2.0.201701271722 Branch: ucs_4.2-0 r76156 | Bug #43428,Bug #42765,Bug #29672: udm usertemplate CL
OK: changes work OK: changelog btw. the selected options of a template aren't evaluated in UMC and therefore have no effect :/ :(
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".