Univention Bugzilla – Bug 55551
UDM REST API doesn't detect UDM modules with numbers in its name
Last modified: 2023-04-19 12:59:51 CEST
The UDM REST API ignores modules which have a number in it's name. → Numbers should be allowed.
The customer has multiple customer specific UDM modules. Those modules have a number in their name. Because of this the modules are not seen by the UDM REST API. I see no technical reason why numbers in the names of modules should not be allowed. Therefore we should make sure that those module names are allowed and can be used with the UDM REST API.
univention-directory-manager-rest.yaml 1a614dad072f | chore(univention-directory-manager-rest): update advisory 2d9542a0668b | fix(udm-rest): fix accessing UDM modules with numbers in its name univention-directory-manager-rest (10.0.6-2) 2d9542a0668b | fix(udm-rest): fix accessing UDM modules with numbers in its name
Verified: * test with the following code: $ cd /usr/lib/python3/dist-packages/univention/admin/handlers/ $ mkdir in8 $ cp nagios/service.py in8/SerVice.py ## go into it and replace module = 'in8/SerVice' $ systemctl restart univention-directory-manager-rest.service $ __udm in8/SerVice list * Advisory * ucs-test-udm-rest
<https://errata.software-univention.de/#/?erratum=5.0x644>