ugent-library / deliver

Apache License 2.0
3 stars 0 forks source link

Javascript error after deleting a folder #99

Closed verheyenkoen closed 10 months ago

verheyenkoen commented 10 months ago

After deleting a folder, the Bootstrap framework throws an error (that blocks Cypress tests from succeeding):

image
nicolasfranck commented 10 months ago

@verheyenkoen Do you have an example? Deleting a folder works on my end.

verheyenkoen commented 10 months ago

In the DevTools console settings, make sure to check "Preserve log" or it will be cleared when the next page loads and you won't see the error.

image
nicolasfranck commented 10 months ago

@nics apparently the "delete folder" still refers to the modal (which fails, but the error is silently ignored): https://github.com/ugent-library/deliver/blob/dev/views/edit_folder.templ#L48