Univention Bugzilla – Bug 37823
Uploading files in distribution: Umlauts do not work
Last modified: 2015-02-27 15:18:34 CET
merge to UCS@school 3.2.
+++ This bug was initially created as a clone of Bug #36846 +++
Files with umlauts in their name do not work in distribution. They do not show up in the file system after uploading (but they are saved somehow).
Interestingly, this action (uploading an umlaut containing file) *distributes an undistributed project* immediately.
Firefox. Filename was "companyName_ Wichtige Änderung.PDF"
Missing self in function signature __workaround_filename_bug(file)
Die Ausführung des Kommandos schoolexam/upload ist fehlgeschlagen:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated
return function(self, request, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 626, in _response
return function(self, request)
File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolexam/__init__.py", line 108, in upload
filename = self.__workaround_filename_bug(file)
TypeError: __workaround_filename_bug() takes exactly 1 argument (2 given)
fixed, packages are building
OK - debian/changelog
OK - changelog
OK - Files with umlauts
--- distribution module: utf8 and latin1 with umlauts
--- distribution module: latin1 broken umlaut char
--- exam module: utf8 and latin1 with umlauts
--- exam module: latin1 broken char
fyi: upload file with broken char (latin1) only worked with firefox.
UCS@school 3.2 R2 v3 has been released:
If this error occurs again, please use "Clone This Bug".