Univention Bugzilla – Full Text Bug Listing |
Summary: | Database integration does not work for Non-UCS images | ||
---|---|---|---|
Product: | UCS | Reporter: | Dirk Wiesenthal <wiesenthal> |
Component: | App Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | best, franke, keiser |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.171 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | Yes | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2018100321000537, 2017090221000249 | Bug group (optional): | |
Max CVSS v3 score: |
Description
Dirk Wiesenthal
2016-09-28 14:42:40 CEST
Installation does not work. Please support None (remove variable) and everything else (as string) The problem is a naive: _ucr[key] = value in python/appcenter-docker/actions/configure.py Also broken on a regular UCS 4.2 System: I can't open the appcenter anymore. Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 191, in query return domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 105, in to_dict app_dict = get.to_dict(app) File "%PY2.7%/univention/appcenter/actions/docker_get.py", line 47, in to_dict ret['config'] = configure.list_config(app) File "%PY2.7%/univention/appcenter/actions/configure.py", line 141, in list_config advanced = ucr_evaluated_as_true(value) File "%PY2.7%/univention/appcenter/ucr.py", line 79, in ucr_evaluated_as_true return _UCR.is_true(value=value) File "%PY2.7%/univention/config_registry/backend.py", line 252, in is_true return value.lower() in ('yes', 'true', '1', 'enable', 'enabled', 'on') AttributeError: 'bool' object has no attribute 'lower' Fixed in univention-appcenter 5.0.22-20.226.201610181622 None and ints are now handled correctly. OK - fixed in univention-appcenter 5.0.22-20.226.201610181622 OK - yaml OK - merged to 4.2-0 Reported again, 4.1-3 errata295 (Vahr) Reported again: Version: 4.1-3 errata295 (Vahr) Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 191, in query return domain.to_dict(apps) File "%PY2.7%/univention/appcenter/actions/domain.py", line 105, in to_dict app_dict = get.to_dict(app) File "%PY2.7%/univention/appcenter/actions/docker_get.py", line 47, in to_dict ret['config'] = configure.list_config(app) File "%PY2.7%/univention/appcenter/actions/configure.py", line 141, in list_config advanced = ucr_evaluated_as_true(value) File "%PY2.7%/univention/appcenter/ucr.py", line 79, in ucr_evaluated_as_true return _UCR.is_true(value=value) File "%PY2.7%/univention/config_registry/backend.py", line 253, in is_true return value.lower() in ('yes', 'true', '1', 'enable', 'enabled', 'on') AttributeError: 'bool' object has no attribute 'lower' |