Univention Bugzilla – Attachment 9884 Details for
Bug 48717
Log events to Admin Diary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dont_log_empty_mods.patch
dont_log_empty_mods.patch (text/plain), 1.18 KB, created by
Arvid Requate
on 2019-03-04 22:59 CET
(
hide
)
Description:
dont_log_empty_mods.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2019-03-04 22:59 CET
Size:
1.18 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >index f9ea081465..13893b3db6 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >@@ -640,7 +640,6 @@ class simpleLdap(object): > for c in response.get('ctrls', []): > if c.controlType == PostReadControl.controlType: > self.oldattr.update(c.entry) >- self._write_admin_diary_modify() > return dn > > def _write_admin_diary_modify(self): >@@ -1282,6 +1281,8 @@ class simpleLdap(object): > # FIXME: timeout without exception if objectClass of Object is not exsistant !! > univention.debug.debug(univention.debug.ADMIN, 99, 'Modify dn=%r;\nmodlist=%r;\noldattr=%r;' % (self.dn, ml, self.oldattr)) > self.lo.modify(self.dn, ml, ignore_license=ignore_license, serverctrls=serverctrls, response=response) >+ if ml: >+ self._write_admin_diary_modify() > > self._ldap_post_modify() > self.call_udm_property_hook('hook_ldap_post_modify', self)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 48717
: 9884