Bug 47914 - ucr/put: TypeError: 'unicode' does not have the buffer interface
ucr/put: TypeError: 'unicode' does not have the buffer interface
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Univention Configuration Registry
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-05 17:49 CEST by Johannes Keiser
Modified: 2021-05-14 16:34 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018111921000372, 2018092521000561
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2018-10-05 17:49:06 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
Comment 1 Johannes Keiser univentionstaff 2019-01-31 18:06:05 CET
Reported again: Version: 4.3-2 errata313 (Neustadt)
Traceback: Same as Comment #0
Comment 2 Ingo Steuwer univentionstaff 2021-05-14 15:41:20 CEST
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.