Univention Bugzilla – Attachment 7986 Details for
Bug 37081
udm syntax checkLdap is always executed, even if the attribute was not changed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
37081.patch (text/plain), 916 bytes, created by
Florian Best
on 2016-09-07 15:02:43 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-09-07 15:02:43 CEST
Size:
916 bytes
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 0e2f308..bfc178e 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 >@@ -1039,7 +1039,8 @@ def _call_checkLdap_on_all_property_syntaxes(self): > properties = self.descriptions > for pname, prop in properties.items(): > if hasattr(prop.syntax, 'checkLdap'): >- prop.syntax.checkLdap(self.lo, self.info.get(pname)) >+ if not self.exists() or self.hasChanged(pname): >+ prop.syntax.checkLdap(self.lo, self.info.get(pname)) > > def __prevent_ad_property_change(self): > if not _prevent_to_change_ad_properties or not self._is_synced_object():
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37081
: 7986