Univention Bugzilla – Bug 33367
When creating policy objects from within another module "Referenced objects" is not loaded anymore
Last modified: 2014-04-29 12:55:27 CEST
Open a computer, e.g. the DC master. Go to policies, add a new policy, say, NFS shares: In the new tab the form for this policy is loaded, but "Referenced objects" is missing. Creating this policy and then opening it does not help. In fact, every NFS share policy is now lacking this subpage. If the policies module is used and any other NFS shares policy is opened _before_ the computer was opened, the subpage exists! Backend problem, probably is_policy_module() returns False, probably self.name is "policies/policy".
Should be the problem described in Bug 33344. *** This bug has been marked as a duplicate of bug 33344 ***
I would not say that this is a duplicate. As I mentioned, the problem is most likely is_policy_module(), while Bug#33344 is (according to Florian) related to the LDAP_Search syntax.
(In reply to Dirk Wiesenthal from comment #2) > I would not say that this is a duplicate. As I mentioned, the problem is > most likely is_policy_module(), while Bug#33344 is (according to Florian) > related to the LDAP_Search syntax. That was only a guess. I think your reasoning is better ;)
(In reply to Florian Best from comment #3) > (In reply to Dirk Wiesenthal from comment #2) > > I would not say that this is a duplicate. As I mentioned, the problem is > > most likely is_policy_module(), while Bug#33344 is (according to Florian) > > related to the LDAP_Search syntax. > That was only a guess. I think your reasoning is better ;) As I said: 2 bugs -> 2 reasons. Your references are broken. Mine are not shown at all (whole tab is missing!)
Also noted in a technical training, policy references for the policies created are only shown after a logout from the UMC
(In reply to Moritz Muehlenhoff from comment #5) > Also noted in a technical training, policy references for the policies > created are only shown after a logout from the UMC But even then, they're not properly updated. Three mail quota policies were created as assigned to the LDAP base, a container and a user object. The policy evaluation is correct, but the policy references is always showing only the user for all policies.
This whole bug may be a duplicate of Bug #33344 (as suggested earlier). It may be that the new JS cache for UDM saves the "do not display _view_referencing_objects"-state forever.
(In reply to Dirk Wiesenthal from comment #7) > This whole bug may be a duplicate of Bug #33344 (as suggested earlier). > > It may be that the new JS cache for UDM saves the "do not display > _view_referencing_objects"-state forever. AFAIS, as well, the behaviour described in this bug is a duplicate of Bug 33344. *** This bug has been marked as a duplicate of bug 33344 ***