Univention Bugzilla – Attachment 10428 Details for
Bug 51669
KeyError: 'gidNumber' when trying to revert adding an object
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
51669.patch (text/plain), 978 bytes, created by
Florian Best
on 2020-07-14 18:49:22 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2020-07-14 18:49:22 CEST
Size:
978 bytes
patch
obsolete
>diff --git management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >index d16ff04ef8..ded9965763 100644 >--- management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >+++ management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py >@@ -1303,7 +1303,9 @@ class simpleLdap(object): > ud.debug(ud.ADMIN, ud.ERROR, "Post-create: cancel() failed: %s" % (traceback.format_exc(),)) > try: > if self._exists: # add succeeded but _ldap_post_create failed! >- self.remove() >+ obj = univention.admin.objects.get(univention.admin.modules.get(self.module), None, self.lo, self.po, self.dn) >+ obj.open() >+ obj.remove() > except: > ud.debug(ud.ADMIN, ud.ERROR, "Post-create: remove() failed: %s" % (traceback.format_exc(),)) > six.reraise(exc[0], exc[1], exc[2])
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 51669
: 10428