Bug 45434 - The App cache may be outdated, resulting in errors
The App cache may be outdated, resulting in errors
Status: CLOSED DUPLICATE of bug 44607
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-2-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-21 20:27 CEST by Dirk Wiesenthal
Modified: 2018-03-15 08:26 CET (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?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.257
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017092121000918
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2017-09-21 20:27:22 CEST
Happens especially when the German and the English caches differ.

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 249, in execute
    function.__func__(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 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 199, in query
    info = domain.to_dict(apps)
  File "%PY2.7%/univention/appcenter/actions/domain.py", line 109, in to_dict
    app_dict = get.to_dict(app)
  File "%PY2.7%/univention/appcenter/actions/get.py", line 115, in to_dict
    ret['is_ucs_component'] = app.is_ucs_component()
  File "%PY2.7%/univention/appcenter/app.py", line 1080, in is_ucs_component
    return 'UCS components' in app.categories
AttributeError: 'NoneType' object has no attribute 'categories'
Comment 1 Dirk Wiesenthal univentionstaff 2017-09-21 21:09:03 CEST

*** This bug has been marked as a duplicate of bug 44607 ***
Comment 2 Stefan Gohmann univentionstaff 2018-03-15 08:26:01 CET
Nothing to release.