Univention Bugzilla – Bug 39444
cleanup UCR module API
Last modified: 2020-07-06 15:38:12 CEST
The handler(ucr, changes) function of a UCR module have is called differently: If the handler is called when changing variables: the "changes" parameter might be a dict of tuples containing (old, new). But the handler is also called on every postinst / ucr register which calls the handler with different arguments: "changes" is a dict of strings with the actual values in that case. Instead of this broken API we should either unify the arguments or add another function which is called "register".
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
*** This bug has been marked as a duplicate of bug 30127 ***