Univention Bugzilla – Bug 43506
Software selection is broken
Last modified: 2017-04-04 18:28:14 CEST
Created attachment 8407 [details] ucs42-installer.png The installer software selection looks broken, see attached screenshot.
I've disabled the software selection for the first milestone of UCS 4.2. Please re-enable it after fixing this issue: r76480
This is either Bug #43451 or Bug #40102.
Should be fixed?!
After a first investigation this appears to be triggered(In reply to Florian Best from comment #3) > Should be fixed?! After a first investigation there seems to be a new issue here. Initially the query to setup/apps/query was empty because of a bug in univention-appcenters app.is_ucs_component(). No there seems to be a problem with the cache: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 312, in execute function.__func__(self, request, *args, **kwargs) 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 454, 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/setup/__init__.py", line 730, in apps_query return util.get_apps(True) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 770, in get_apps return [Get.to_dict(app) for app in AppManager.get_all_apps() if app.is_ucs_component()] File "/usr/lib/pymodules/python2.7/univention/appcenter/app.py", line 1089, in is_ucs_component return 'UCS components' in app.categories AttributeError: 'NoneType' object has no attribute 'categories'
I fixed some a few JavaScript errors and styling issues for the software selection grid. Changelog entry is not necessary. univention-system-setup (10.0.7-13): r77145 | Bug #43506: Adjust query for correct software components r77143 | Bug #43506: Fix errors and styling for software selection
BTW, there was a logic error as _getRole() would return undefined for the fast demo mode. The method now returns "domaincontroller_master" for the demo mode.
reopen: there is still no entry in the software selection grid. The apps/query request returns nothing.
UCS 4.2: Revision 77174 and 77175 replace deprecated parts of the appcenter API. Package: univention-system-setup Version: 10.0.7-14A~4.2.0.201702281804 Branch: ucs_4.2-0
Great, i can now select software in the grid. Verified. Interim bug, no changelog required.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".