adobe / da-live

Document Authoring is an early-access technology preview from Adobe.
https://da.live
Apache License 2.0
10 stars 16 forks source link

Delete hangs forever in UI #245

Open bosschaert opened 1 month ago

bosschaert commented 1 month ago

When deleting a file, the UI hangs while showing this dialog forever (it even happens with a single file):

Screenshot 2024-10-18 at 16 20 48

The file is actually deleted, and a refresh of the window resolves the issue.

This issue is possibly related to #233

bosschaert commented 1 month ago

I looked a little bit into this and found that here: https://github.com/adobe/da-live/blob/733208fd4dccad9fd74e41f38acd24f5b74974f6/blocks/browse/da-list/da-list.js#L182 the UI expects a json() response from da-admin.

However da-admin just sends a 204 with an empty response back, and as far as I can see it has been doing that for a long time: https://github.com/adobe/da-admin/blob/e407d91dfbcc4847c7881ca3b53a83e4b3d88c1f/src/storage/object/delete.js#L97