Bug 32406 - UDM module settings/udm_syntax
UDM module settings/udm_syntax
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Arvid Requate
Stefan Gohmann
: interim-3
Depends on: 32410
Blocks: 32404 32418 32420
  Show dependency treegraph
 
Reported: 2013-08-28 14:24 CEST by Arvid Requate
Modified: 2013-11-19 06:43 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
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 Arvid Requate univentionstaff 2013-08-28 14:24:28 CEST
A new UDM module udm/syntax is required for Bug 32404 and Bug 32405.
Comment 1 Arvid Requate univentionstaff 2013-09-05 22:29:32 CEST
The module is implemented as settings/udm_syntax.
Changelog committed.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-09-27 12:20:42 CEST
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
Comment 3 Arvid Requate univentionstaff 2013-10-08 14:56:18 CEST
Fixed by using UCS_Version from univention.updater.tools.
Comment 4 Stefan Gohmann univentionstaff 2013-10-31 12:20:25 CET
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:~#
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:43:56 CET
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".