Bug 41993 - TypeError: argument of type 'NoneType' is not iterable
TypeError: argument of type 'NoneType' is not iterable
Status: RESOLVED DUPLICATE of bug 41609
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-15 15:38 CEST by Florian Best
Modified: 2016-09-16 10:03 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-08-15 15:38:23 CEST
Reported three times:
Version: 4.1-2 errata220 (Vahr)

Remark: Versucht Mailadresse hinzu zu fügen
Remark: Passwortänderung

Traceback(21d44cf46d75ce7f8ecac8d90549e9c7):
Die Ausführung des Kommandos schoolwizards/users/put schoolwizards/users ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 283, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 112, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 140, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 204, in _modify_obj
    obj.modify(ldap_user_write, validate=False)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 471, in modify
    success = self.modify_without_hooks(lo, validate, move_if_necessary)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 494, in modify_without_hooks
    self.do_modify(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/user.py", line 267, in do_modify
    if school_class.school not in self.school_classes:
TypeError: argument of type 'NoneType' is not iterable
Comment 1 Florian Best univentionstaff 2016-08-15 15:44:29 CEST
And another time on 29.07. / 04.08:
Remark: Passwortänderungen werden nicht durchgeführt :(
Comment 2 Florian Best univentionstaff 2016-08-15 15:44:42 CEST
I guess this is fixed by Bug #41609.

*** This bug has been marked as a duplicate of bug 41609 ***
Comment 3 Florian Best univentionstaff 2016-09-13 11:57:29 CEST
Reported again, 4.1-3 errata239 (Vahr)
Comment 4 Florian Best univentionstaff 2016-09-16 10:03:31 CEST
Reported again, 4.1-3 errata234 (Vahr)

Remark: Benutzer versucht einer anderen Klasse zuzuordnen