Univention Bugzilla – Attachment 10149 Details for
Bug 49959
ucs-test: ucs_uid = ucs_object.get('uid', [None])[0]: AttributeError: 'NoneType' object has no attribute 'get'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug49959.patch
bug49959.patch (text/plain), 882 bytes, created by
Arvid Requate
on 2019-08-04 17:42:35 CEST
(
hide
)
Description:
bug49959.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2019-08-04 17:42:35 CEST
Size:
882 bytes
patch
obsolete
>diff --git a/services/univention-s4-connector/modules/univention/s4connector/s4/computer.py b/services/univention-s4-connector/modules/univention/s4connector/s4/computer.py >index 8c359b5ea5..182ca37b83 100644 >--- a/services/univention-s4-connector/modules/univention/s4connector/s4/computer.py >+++ b/services/univention-s4-connector/modules/univention/s4connector/s4/computer.py >@@ -108,6 +108,9 @@ def windowscomputer_sync_s4_to_ucs_check_rename(s4connector, key, sync_object): > sAMAccountName = sAMAccountName_vals[0] > > ucs_object = s4connector.get_ucs_ldap_object(sync_object['dn']) >+ if not ucs_object: >+ ud.debug(ud.LDAP, ud.WARN, "con_check_rename: ucs object not found: %s (maybe already deleted)" % sync_object['dn']) >+ return > ud.debug(ud.LDAP, ud.INFO, "con_check_rename: ucs object: %s" % ucs_object) > ucs_uid = ucs_object.get('uid', [None])[0] > if not ucs_uid:
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 49959
: 10149