Univention Bugzilla – Full Text Bug Listing |
Summary: | UMC crashes if default container contains "," | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - Domain management (Generic) | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | Flags: | best:
Patch_Available+
|
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 7: Crash: Bug causes crash or data loss |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 5: Blocking further progress on the daily work |
User Pain: | 0.200 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Attachments: | patch |
Applied rebased patch: r 80639 univention-management-console-module-udm (7.0.10-14) * Bug #42423: Applied patch from Florian Best - Fix traceback when default container contains "," YAML: r 80640 OK: no crash / problem anymore when a default contains contains a ",". OK: YAML (adjusted in r80650) |
Created attachment 8015 [details] patch Attached is a patch. To reproduce create a container with "," in the name and add it to the default containers of e.g. users and open the users object. Execution of command 'udm/containers users/user' has failed: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 283, in execute function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 105, in _decorated return func(self, request, *a, **kw) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 702, in containers containers += self.settings.containers(flavor) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 956, in containers return map(lambda x: {'id': x, 'label': ldap_dn2path(x)}, self.directory.info.get(base, [])) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 956, in <lambda> return map(lambda x: {'id': x, 'label': ldap_dn2path(x)}, self.directory.info.get(base, [])) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 1006, in ldap_dn2path dummy, value = item.split('=', 1) ValueError: need more than 1 value to unpack