Univention Bugzilla – Bug 54908
Javascript widget should check exam name | ValueError: Das angegebene Projektverzeichnis darf nicht mit einem "." beginnen oder enden.
Last modified: 2022-08-17 17:14:33 CEST
+++ This bug was initially created as a clone of Bug #52719 +++ Version: 4.4-4 errata648 (Blumenthal) - UCS@school 4.4 v5 Remark: Fehler beim Speichern einer Klassenarbeit Error: Interner Server-Fehler in "schoolexam/exam/add". Request: schoolexam/exam/add Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/schoolexam/__init__.py", line 369, in add self._save_exam(request) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 123, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolexam/__init__.py", line 290, in _save_exam project.validate() File "%PY2.7%/univention/management/console/modules/distribution/util.py", line 375, in validate raise ValueError(_('The specified project directory may not start nor end with a ".".')) ValueError: Das angegebene Projektverzeichnis darf nicht mit einem "." beginnen oder enden. Role: domaincontroller_slave
changed target milestone to 4.4 9 errata
OK: Invalid directory name detected on SAVE and START OK: yaml -> can be merged and built
Merged with 35ed7707, Backport from Bug #52719: * The front-end recognizes now all invalid exam directory names * Any incorrect exam directory name will be detected by the backend and an appropriate error message is shown * The tool-tip for the validation textbox includes that spaces or "." are not allowed at the start or end of the name
Errata updates for UCS@school 4.4 v9 have been released. https://docs.software-univention.de/changelog-ucsschool-4.4v9-de.html If this error occurs again, please clone this bug.