Univention Bugzilla – Bug 37936
Repository-Synchronisation and maintenance policy values not displayed by UMC
Last modified: 2019-01-03 07:18:25 CET
(In reply to Alexander Kläser from Bug #36708 comment #2) > Interesting observation, but this should be a different problem... when > trying to display a policy of the type "policies/repositorysync", the > command "udm/object/policies" receives the following result: > > > { > > "": { > > "policy": "cn=Test,cn=policies,dc=vbox,dc=test", > > "fixed": 0, > > "value": [ > > "0 0 4,12 1,2 1,3,4 " > > ] > > } > > } +++ This bug was initially created as a clone of Bug #36708 +++
The problem is not that the dict contains an empty string. The policy has an LDAP attribute 'univentionRepositoryCron' which is manually unmapped into multiple properties (hours, minutes, etc.). The empty string is only because there is no mapping for the attribute so that mapping.unmap() will result in that empty string. In univention.admin.handlers.simplePolicy.policy_result() we are missing to unmap the attributes into these properties.
Same goes for Paketpflege/maintenance policy afaics.
*** Bug 39200 has been marked as a duplicate of this bug. ***
*** Bug 25291 has been marked as a duplicate of this bug. ***
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 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.