Bug 56771 - Traceback: univention.portal.handlers.portal_entries_handler.PortalEntriesHandler.get KeyError: 'entries'
Traceback: univention.portal.handlers.portal_entries_handler.PortalEntriesHan...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Portal
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-26 13:15 CEST by Philipp Hahn
Modified: 2023-10-26 13:15 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.069
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

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2023-10-26 13:15:46 CEST
Nearly every Jenkins run contains the following traceback, see
<https://jenkins2022.knut.univention.de/job/UCS-5.0/job/UCS-5.0-5/job/AutotestUpgrade/55/SambaVersion=s4,Systemrolle=master-part-II/testReport/99_end/01_var_log_tracebacks/test_journallog_tracebacks/>

156 times in <_io.BufferedReader name=8>:
https://jenkins2022.knut.univention.de/job/UCS-5.0/job/UCS-5.0-5/job/AutotestUpgrade/SambaVersion=s4,Systemrolle=master-part-II/ws/test/<_io.BufferedReader name=8>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tornado/web.py", line 1595, in _execute
    result = yield result
  File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3/dist-packages/univention/portal/handlers/portal_entries_handler.py", line 58, in get
    visible_content = portal.get_visible_content(user, admin_mode)
  File "/usr/lib/python3/dist-packages/univention/portal/extensions/portal.py", line 118, in get_visible_content
    entries = self.portal_cache.get_entries()
  File "/usr/lib/python3/dist-packages/univention/portal/extensions/cache.py", line 111, in get_entries
    return deepcopy(self.get()["entries"])
KeyError: 'entries'