Bug 53651 - Remove template /usr/share/univention-portal/apps.json
Remove template /usr/share/univention-portal/apps.json
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Dirk Wiesenthal
Jan Luttermann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-12 10:44 CEST by Dirk Wiesenthal
Modified: 2021-09-15 17:41 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Dirk Wiesenthal univentionstaff 2021-08-12 10:44:43 CEST
It was used by the old portal and is now only generated, but never read.

This is not a huge problem on its own. But in App tests, the check

03_ucr.37check-ucr-templates-py3-migration-status.test_configfile_python_compatibility[/etc/univention/templates/files/usr/share/univention-portal/apps.json] 

may fail due to different dictionary ordering in py2 vs py3.
Comment 1 Dirk Wiesenthal univentionstaff 2021-08-12 11:03:31 CEST
Fixed with

Commit: 3ac2f09f
Package: ucs-test
Version: 10.0.6-21A~5.0.0.202108121056
Branch: ucs_5.0-0
Scope: errata5.0-0

Commit: 98a53858
Package: univention-appcenter
Version: 9.0.2-58A~5.0.0.202108121059
Branch: ucs_5.0-0
Scope: errata5.0-0

Commit: 6878864d
Package: univention-portal
Version: 4.0.5-63A~5.0.0.202108121102
Branch: ucs_5.0-0
Scope: errata5.0-0
Comment 2 Florian Best univentionstaff 2021-08-12 11:35:17 CEST
REOPEN: you need a debian/*.maintscript to remove the UCR template
Comment 3 Dirk Wiesenthal univentionstaff 2021-08-12 14:55:37 CEST
(In reply to Florian Best from comment #2)
> REOPEN: you need a debian/*.maintscript to remove the UCR template

Added in

Package: univention-portal
Version: 4.0.5-64A~5.0.0.202108121215
Branch: ucs_5.0-0
Scope: errata5.0-0
Comment 4 Felix Botner univentionstaff 2021-08-20 11:09:17 CEST
2eec9574178a7f3609f20da004091056b64c9af5
added /etc/univention/templates/files/usr/share/univention-portal/apps.json to ALLOWED_DIFFERENCES in 03_ucr/37check-ucr-templates-py3-migration-status.py
Comment 5 Jan Luttermann univentionstaff 2021-08-27 11:03:27 CEST
QA:
Dependencies check -> OK
Functionality check -> OK
File Removed -> OK
 - all traces removed -> OK