Univention Bugzilla – Bug 38743
Allow override of widget<->syntax-class mapping
Last modified: 2019-01-18 15:49:51 CET
It is currently not possible to extend the list of widgets which are mapped to syntax classes. It is not possible for extensions of UDM to ship own widgets. The mapping should be override-able via UCR-variables. Suggestion: directory/manager/web/widget/<pseudo-name>/syntax: syntax-class1,syntax-class2 directory/manager/web/widget/<pseudo-name>/widget: umc/modules/udm/<ext>/<widget> directory/manager/web/widget/<pseudo-name>/default: <some-default-value> directory/manager/web/widget/<pseudo-name>/property/<property>: <some-other-widget> directory/manager/web/widget/<pseudo-name>/subclasses: syntax-class1,syntax-class2
Created attachment 6978 [details] patch (In reply to Florian Best from comment #0) > directory/manager/web/widget/<pseudo-name>/subclasses: syntax-class1,syntax-class2 err, this is only boolean: <true|false>3
Applied the patch. Added UCR variable descriptions. univention-management-console-module-udm (4.0.99-7): r61420 | Bug #38743: allow widget override via UCR variables r61419 | Copyright Bug #38743 2015-06-23-univention-management-console-module-udm.yaml: r61421 | YAML Bug #38743 QA: I'll query you the AZE account for the QA time.
I also added an automatic loading of the defined widgets: r61427 | Bug #38743: automatically load missing widgets
Code: OK YAML: OK
<http://errata.univention.de/ucs/3.2/341.html>