Univention Bugzilla – Bug 49923
Automatically call modules.update() initiailly when using modules.get()
Last modified: 2024-03-07 14:39:58 CET
univention.admin.modules.get() should check if univention.admin.modules.update() has been called before and if not, call it - for you. Otherwise `None` is returned which lead to a lot errors in the past and now does again for UVMM code. The future goal is, to get rid of the necessarity for scripts to call univention.admin.modules.update(). We start with this simple attempt, so it's not necessary to call update() at import-time of UDM.
Not now. There are potential risks for recursion errors.
Since git:f56259d79f47767d440695703210626f96e8233d Bug #50385 there is the internal function univention.amdin.modules._get() doing this.