+++ This bug was initially created as a clone of Bug #46846 +++ From Bug #46846 #c1: 16.08.18 12:33:42.630 LISTENER ( PROCESS ) : gafw: Modified google account of user 'a.xxx'. 16.08.18 12:33:42.662 LISTENER ( PROCESS ) : updating 'uid=a.xxx,cn=users,dc=xxx,dc=xxx' command m 16.08.18 12:36:04.693 LISTENER ( PROCESS ) : updating 'cn=xxx-nb-009,cn=computers,dc=xxx,dc=xxx' command m 16.08.18 12:36:35.661 LISTENER ( PROCESS ) : updating 'uid=a.xxx,cn=users,dc=xxx,dc=xxx' command m Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/google-apps-user.py", line 345, in handler ol.modify_google_user(old, new) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 172, in modify_google_user self._fix_user_resource(resource) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 746, in _fix_user_resource resource[k] = _multiply_if_has_list(resource[k]) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 721, in _multiply_if_has_list raise RuntimeError("Unexpected type {!r} for item {!r} in property {!r}.".format(type(p), p, prop)) RuntimeError: Unexpected type <type 'str'> for item 'xxx@xxx.xxx' in property []. 16.08.18 12:36:35.679 LISTENER ( WARN ) : handler: google-apps-user (failed) 16.08.18 12:36:45.266 LISTENER ( PROCESS ) : updating 'uid=a.xxx,cn=users,dc=xxx,dc=xxx' command m
Same with 4.3-1 errata229 and Google Apps for Work Connector 2.3
4.3-3 errata477 and Google Apps for Work Connector 2.3 09.05.19 09:38:24.492 LISTENER ( PROCESS ) : updating 'uid=xxx,cn=users,dc=xxx,dc=com' command m Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/google-apps-user.py", line 345, in handler ol.modify_google_user(old, new) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 172, in modify_google_user self._fix_user_resource(resource) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 746, in _fix_user_resource resource[k] = _multiply_if_has_list(resource[k]) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 721, in _multiply_if_has_list raise RuntimeError("Unexpected type {!r} for item {!r} in property {!r}.".format(type(p), p, prop)) RuntimeError: Unexpected type <type 'str'> for item '5thfloor@xxx.com' in property []. 09.05.19 09:38:24.513 LISTENER ( WARN ) : handler: google-apps-user (failed)
I assume this does not happen for all user objects - do we have any idea which use case triggers this message?
(In reply to Ingo Steuwer from comment #3) > I assume this does not happen for all user objects - do we have any idea > which use case triggers this message? Adding a alias (e-mail) to an user. Afaik it happens on all users which are synced to google.
4.4-0 errata168 (Blumenthal) with G Suite connector 2.3 09.07.19 13:11:21.358 LISTENER ( PROCESS ) : updating 'uid=xxx,cn=users,dc=xxx,dc=com' command m Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/google-apps-user.py", line 345, in handler ol.modify_google_user(old, new) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 172, in modify_google_user self._fix_user_resource(resource) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 746, in _fix_user_resource resource[k] = _multiply_if_has_list(resource[k]) File "/usr/lib/pymodules/python2.7/univention/googleapps/listener.py", line 721, in _multiply_if_has_list raise RuntimeError("Unexpected type {!r} for item {!r} in property {!r}.".format(type(p), p, prop)) RuntimeError: Unexpected type <type 'list'> for item ['xxx@xxx.com', 'xxx@xxx.com'] in property []. 09.07.19 13:11:21.598 LISTENER ( WARN ) : handler: google-apps-user (failed)
This issue has been filed against UCS 4.4. UCS 4.4 is out of general maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.