Bug 50574 - Force all app ISV's to migrate to real extended options instead of App Tabs fake option
Summary: Force all app ISV's to migrate to real extended options instead of App Tabs f...
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: App Center
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: App Center maintainers
QA Contact: App Center maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 12:33 CET by Florian Best
Modified: 2025-06-29 08:17 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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-11-28 12:33:03 CET
The apps are currently using a fake extended attribute which is re-written into a extended option via the listener in management/univention-appcenter/listener/app_attributes.py.

This writes /var/lib/univention-appcenter/attributes/mapping.json.

I heard again in a support case where this failed and no app tabs were visible anymore.

We should migrate all apps to use real extended options.
Comment 1 Florian Best univentionstaff 2019-11-28 17:55:01 CET
What exactly would have to be done during a migration?
* Create a settings/extended_option --set isAppTab=true for the current extended attribute which is set as UMCOptionsAttributes in the app's .ini file.
* Adjust all udm-cli calls to use `--append-option=$name` instead of `--set $name=1`

How can you find out which apps need action?

# grep -l UMCOptionsAttributes /var/cache/univention-appcenter/*/4.*/*.ini | sed 's#.*/##g; s/_.*//g' | sort | uniq
bluespice
guacamole
nextcloud
odoo
openproject
owncloud
oxseforucs
relution
rocketchat
webweaver
wekan
Comment 2 Florian Best univentionstaff 2022-04-21 15:00:34 CEST
Another broken thing revealed in Bug #54680 comment 1.
Comment 3 Florian Best univentionstaff 2025-06-29 08:17:20 CEST
Still, highly recommended to change this.

Nubus4K8S wasn't aware that these exists and now the data format in UDM REST API is different than in UCS (https://git.knut.univention.de/univention/dev/internal/team-nubus/-/issues/1319):
One must send "Ok" / "Not" or "1" / "0" instead of real True / False to UDM REST API in Nubus4K8S to enable apps via UDM REST API.