-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Describe the bug
When I add an menu entry for audio files via API it is shown with the default icon. When I change the icon I can still get the FileActionMenu but it's not shown (and there are not requests to the server to fetch the icon).
Steps/Code to Reproduce
- Add manual daemon for app_api
- Add app
- Add FileActionMenu in function handling
/enablerequest using thePOST /api/v1/ui/files-actions-menuendpoints with all mandatory parameters andiconset to a relative URL (/static/icon.svg or /static/icon.png)* - Request entry via
GET /api/v1/ui/files-actions-menuwith name parameter - Retrieve menu entry as POSTed
- Log into NC and wonder why menu entry is not shown(if I do all this steps without the icon parameter it works just fine)
I use nc_py_api but assume that that's irrelevant as registering works without icon and even with icon the entry is given back as sent (trailing slashes are remove from icons relativ URL -> /static/icon.svg -> static/icon.svg
The URL of the icon is valid as tested multiple times but there are also no requests to any other URL on this endpoint what so ever.
Expected Results
Show the menu entry with correct icon
Actual Results
No menu entry shown
Setup configuration
NC 31.0.7
apps/app_api/appinfo/info.xml states this is app_api 5.0.2