Bug 37936 - Repository-Synchronisation and maintenance policy values not displayed by UMC
Repository-Synchronisation and maintenance policy values not displayed by UMC
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Policies
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
: 25291 39200 (view as bug list)
Depends on: 36708
Blocks: 36508
  Show dependency treegraph
 
Reported: 2015-03-04 15:12 CET by Florian Best
Modified: 2019-01-03 07:18 CET (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-03-04 15:12:28 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 +++
Comment 1 Florian Best univentionstaff 2015-03-04 16:30:13 CET
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.
Comment 2 Florian Best univentionstaff 2015-03-12 16:46:42 CET
Same goes for Paketpflege/maintenance policy afaics.
Comment 3 Florian Best univentionstaff 2015-08-17 10:54:02 CEST
*** Bug 39200 has been marked as a duplicate of this bug. ***
Comment 4 Florian Best univentionstaff 2015-08-17 10:57:49 CEST
*** Bug 25291 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Gohmann univentionstaff 2019-01-03 07:18:25 CET
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.