Unhandled 400 error when deselecting an already deselected element
Sentry Issue: ARKINDEX-FRONTEND-KQ
Error: Request failed with status code 400
at call (./js/api.js:104:57)
at u (None:1:410)
at a (None:1:410)
at l/</< (None:1:410)
at l/< (None:1:410)
...
(35 additional frame(s) were not displayed)
- Select any element
- Open the selection list
- Open the selection list in another tab
- Unselect the element, or delete it entirely
- In the other tab, unselect the element again
- Profit
- There might be an extraneous
throwor a missingcatchthat causes the issue to still be sent to Sentry. - The backend could maybe still return a 204 from this as the deletion was already done?
Edited by Erwan Rouchet