Univention Bugzilla – Bug 30090
Traceback upon module opening as long as no school was entered
Last modified: 2016-12-12 13:16:23 CET
You get a traceback after opening Password reset: /umcp/command/schoolusers/schools yields 500 ("no school found"), thus the next commands /umcp/command/schoolusers/groups and .../query send {"school": ""}, both commands resulting in: Die Ausführung des Kommandos schoolusers/query ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/ucsschool/lib/schoolldap.py", line 215, in wrapper_func raise LDAP_ConnectionError( str( e ) ) LDAP_ConnectionError: Invalid DN syntax: invalid DN
This is only a minor bug, as this situation can only happen in the beginning. But if someone tests UCS@school and the first click is on "Password reset", this makes a very bad user experience.
True. There is a user friendly error message: "Could not find any school. You have to create a school before continuing. Use the 'Add school' UMC module to create one." It is not displayed as there are two other error messages that pop up in a dialog, as well, and thus overwrite the first one.
The user-friendly message is shown in all other modules, except setting of passwords.
(In reply to comment #3) > The user-friendly message is shown in all other modules, except setting of > passwords. No, this applies to the following modules (names as seen in the overview): Computerroom Distribute materials (not upon opening, but if you want to "Assign classes/workgroups") Moderate Printers Passwords (students) Passwords (teachers) Room (although this one is not critical. Error appears only if you search for computers in a new room, but a user friendly message is displayed *twice* before you are able to do so) Administrate working group (although this one is not critical. Error appears only if you search for members in a new group, but a user friendly message is displayed *once* before you are able to do so) Assign internet rules This is 8 / 16 modules while the first three modules give an error, the forth gives a not-helpful message ("The helpdesk module is not configured properly. The recipient email address is not set.") and the fifth module "Add user" is the first one to state that you have to add a school first.
Then we should have a look at it for the next release.
*** Bug 30152 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 42399 ***
UCS@school 4.1 R2 v9 has been released. http://docs.software-univention.de/changelog-ucsschool-4.1R2v9-de.html