Univention Bugzilla – Bug 53714
App Attributes: Rewriting layout for frontend "permanently" alters backend properties
Last modified: 2021-09-02 09:10:40 CEST
When the App Attributes are used, the frontend is presenting a slightly different layout than the backend was configured with. To accomplish this, we generate altered properties in umc-udm/udm_ldap.py. This process may permanently alter the "descriptions" of a UDM module. This is a problem if udm_ldap.py is used outside of umc-udm AND the process is long-living. As is the case in the UDM REST API. Creating an object through the API executes the altering code in umc-udm. Subsequent requests now operate on changed "options" for certain attributes. Fix around line 963: 'options': copy.deepcopy(prop.options),
univention-management-console-module-udm.yaml 980bccaa8494 | YAML Bug #53714 e540600ac049 | Bug #53714: prevent altering of original object options through app options univention-management-console-module-udm (10.0.1-14) e540600ac049 | Bug #53714: prevent altering of original object options through app options
Code change: OK No regressions: OK YAML: OK
<https://errata.software-univention.de/#/?erratum=5.0x76>