Univention Bugzilla – Bug 45255
UnboundLocalError: local variable 'ur' referenced before assignment
Last modified: 2017-10-16 21:33:59 CEST
Created attachment 9143 [details] Screenshot UnboundLocalError: local variable 'ur' referenced before assignment school/ucs-school-umc-users/umc/python/schoolusers/__init__.py 111 » » except udm_exceptions.permissionDenied as e: 112 » » » MODULE.process('dn=%r' % ur.dn) The full traceback is available in the screenshot.
The traceback happens if the UMC user is not allowed to reset the password of another user.
ucs-school-umc-users.yaml: 1e4e39f3f4ece9beb26bdd1c6fea2055ec304059 | YAML Bug #45255 4d35997575fb3eb36856962f0373f6e1c2c8af26 | Merge branch 'fbest/45255-unbound-local-ur' into 4.2 bea5bf7b99244f1ea629080a7e065c0dfc238b6a | YAML Bug #45255 ucs-school-umc-users (13.0.0-3): 4d35997575fb3eb36856962f0373f6e1c2c8af26 | Merge branch 'fbest/45255-unbound-local-ur' into 4.2 5de16cbcafdcda2146ef39de4e876e54ce9d32f0 | Bug #45255: fix UnboundLocalError in case of permission problems
OK A normal human readable error message is shown instead of traceback OK YAML (6463241211991cf8a028ca743b297c2974ed28f6 - fix typo and slight reword) -> verified
UCS@school 4.2 v4 has been released. http://docs.software-univention.de/changelog-ucsschool-4.2v4-de.html If this error occurs again, please clone this bug.