Univention Bugzilla – Bug 37867
\x25 in ucr var description
Last modified: 2015-05-11 19:24:49 CEST
# ucr info ucsschool/ldap/default/groupname/exam ucsschool/ldap/default/groupname/exam: OU%(ou)s-Klassenarbeit Default group name for the exam mode (in Python string syntax, default: "OU\x25(ou)s-Klassenarbeit") Categories: ucsschool-base \x25 → % patch: sed 's/\\x25/%/g' -i ucs-school-umc-exam/debian/ucs-school-umc-exam-master.univention-config-registry-variables
The attached patch was not enough, the UCR implementation (ConfigParser) disallows to have %(foo)s in a variable description. I had to workaround with '%' + '(foo)s'. As the variable descriptions are under /etc/ it will only be updated for new installations. Fix: (svn r59705), svn r59821 Package: ucs-school-umc-exam-master
root@master44:~# ucr info ucsschool/ldap/default/groupname/exam ucsschool/ldap/default/groupname/exam: OU%(ou)s-Klassenarbeit 'Default group name for the exam mode (in Python string syntax, default: "OU%'+'(ou)s-Klassenarbeit")' Categories: ucsschool-base Looks like a problem with escaping
Please revert existing changes in SVN and then remove the target milestone.
Last try: I am now using '\x20\x08' (space + backspace) for the variable. This has the effect that parsing works, the empty space char is not displayed on the CLI, copy+paste on CLI works. Fix: svn r60234
+svn r60235
OK: code change OK: package built (4.0.2-2.93.201504281457) OK: xml changelog entry
UCS@school 4.0 R2 v1 has been released: http://docs.univention.de/release-notes-ucsschool-4.0R2v1-de.html If this error occurs again, please use "Clone This Bug".