Bug 49565 - computerroom/exam/finish: AttributeError: username missing: (VORDEFINIERT)
computerroom/exam/finish: AttributeError: username missing: (VORDEFINIERT)
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-28 17:07 CEST by Johannes Keiser
Modified: 2023-06-23 13:15 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.143
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019040521000294
Bug group (optional): Error handling, 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 Johannes Keiser univentionstaff 2019-05-28 17:07:45 CEST
Version: 4.3-2 errata407 (Neustadt) - UCS@school 4.3 v6

Interner Server-Fehler in "computerroom/exam/finish".
Request: computerroom/exam/finish

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 189, in _decorated
    return func(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 624, in finish_exam
    self._settings_set(printMode='default', internetRule='none', shareMode='all', customRule='')
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 683, in _settings_set
    self.reset_smb_connections()
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 832, in reset_smb_connections
    italc_users = [x.lower() for x in self._italc.users if x]
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 664, in users
    return [_usermap[x.user.current].username for x in self.values() if x.user.current and x.connected()]
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 101, in __getitem__
    self._read_user(user)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/computerroom/italc2.py", line 111, in _read_user
    raise AttributeError('username missing: %s' % userstr)
AttributeError: username missing:  (VORDEFINIERT)

Role: domaincontroller_master
Comment 1 Jan-Luca Kiok univentionstaff 2023-06-23 13:15:29 CEST
This issue has been filed against UCS 4.4.

UCS 4.4 is out of maintenance and UCS components may have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.