Bug 50172 - Appcenter Translations in UDM REST API should be dictionaries
Appcenter Translations in UDM REST API should be dictionaries
Status: RESOLVED MOVED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P3 enhancement (vote)
: UCS 5.0-0-errata
Assigned To: App Center maintainers
App Center maintainers
https://git.knut.univention.de/univen...
:
Depends on: 50047
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-10 18:53 CEST by Florian Best
Modified: 2022-02-23 12:25 CET (History)
3 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:
best: Patch_Available+


Attachments
patch (2.13 KB, patch)
2019-09-10 18:53 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-09-10 18:53:57 CEST
Created attachment 10178 [details]
patch

Appcenter translations are currently strings like "[de] Foo".
They should be represented like {"de": "Foo"} in the UDM REST API.
This is the way the python simple UDM API decodes these properties.

We should do this in the REST API as well, with the attached patch.

+++ This bug was initially created as a clone of Bug #50047 +++