Univention Bugzilla – Attachment 8334 Details for
Bug 41802
Unknown object class prevents modifying user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
41802.patch (text/plain), 848 bytes, created by
Florian Best
on 2017-01-05 13:55:14 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-01-05 13:55:14 CET
Size:
848 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 aac8355..7d56bd7 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 >@@ -867,7 +867,8 @@ def lowerset(vals): > > # case normalize object class names > schema = self.lo.get_schema() >- ocs = set(schema.get_obj(ldap.schema.models.ObjectClass, x).names[0] for x in ocs) >+ ocs = (schema.get_obj(ldap.schema.models.ObjectClass, x) for x in ocs) >+ ocs = set(x.names[0] for x in ocs if x) > > # make sure we still have a structural object class > if not schema.get_structural_oc(ocs):
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 41802
: 8334