Bug 50574 - Force all app ISV's to migrate to real extended options instead of App Tabs fake option
Force all app ISV's to migrate to real extended options instead of App Tabs f...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal with 1 vote (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-28 12:33 CET by Florian Best
Modified: 2022-04-22 12:08 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 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.