Univention Bugzilla – Bug 32406
UDM module settings/udm_syntax
Last modified: 2013-11-19 06:43:56 CET
A new UDM module udm/syntax is required for Bug 32404 and Bug 32405.
The module is implemented as settings/udm_syntax. Changelog committed.
OK: changelog entry FAIL: the module accepts all types of UCS versions: root@master80:~# udm settings/udm_syntax create --set name=FOO4 --set filename=FOO2.py --set data='QlpoORdyRThQkAAAAAA=' --set package=FOO --set packageversion=1.0.0-0 --set ucsversionstart=DING --set ucsversionend=FOOBAR Object created: cn=FOO4,dc=nstx,dc=local OK: changes to the object are only allowed if the old package version is smaller/equal to the new package version (if the version is modified) OK: renaming of objects OK: name, filename, data, package, packageversion, appid
Fixed by using UCS_Version from univention.updater.tools.
OK: root@backup192:~# udm settings/udm_syntax create --set name=FOO4 --set filename=FOO2.py --set data='QlpoORdyRThQkAAAAAA=' --set package=FOO --set packageversion=1.0.0-0 --set ucsversionstart=DING --set ucsversionend=FOOBAR E: Invalid Syntax: Minimal UCS version: Invalid UCS version: DING root@backup192:~#
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".