Univention Bugzilla – Bug 47914
ucr/put: TypeError: 'unicode' does not have the buffer interface
Last modified: 2021-05-14 16:34:04 CEST
Version: 4.3-2 errata237 (Neustadt) Internal server error during "ucr/put". Request: ucr/put 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/decorators.py", line 183, in _response request.options = sanitizer.sanitize(options_name, {options_name: request.options}) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 186, in sanitize new_value = self._sanitize(value, name, further_arguments) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 326, in _sanitize altered_value.append(self.sanitizer.sanitize(name, {name: item})) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 186, in sanitize new_value = self._sanitize(value, name, further_arguments) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 273, in _sanitize altered_value[attr] = sanitizer.sanitize(attr, value) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 186, in sanitize new_value = self._sanitize(value, name, further_arguments) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 273, in _sanitize altered_value[attr] = sanitizer.sanitize(attr, value) File "%PY2.7%/univention/management/console/modules/sanitizers.py", line 186, in sanitize new_value = self._sanitize(value, name, further_arguments) File "%PY2.7%/univention/management/console/modules/ucr/__init__.py", line 56, in _sanitize if not validate_key(value, b): File "%PY2.7%/univention/config_registry/misc.py", line 118, in validate_key (old, key) TypeError: 'unicode' does not have the buffer interface Role: domaincontroller_backup
Reported again: Version: 4.3-2 errata313 (Neustadt) Traceback: Same as Comment #0
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have 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 it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.