Affects Version/s: 9.10
Component/s: Web UI
Currently when a user tries to delete an entry which is referenced in another vocabulary, this error is displayed
ERROR: An error occurred while deleting this entry.
which is the same message as if any other problem occurred during the deletion.
The code to display the error message is
so the expected message could be displayed if a status coede 401 was returned but:
1) this status code is never returned
2) 401 is not relevant with this type of error
Given the fact that the correct error message is part of the HTTP response
it should be possible to display the appropriate message by testing the "message" variable.
Even if the message in the UI would change when this request will be taken into account, I don't think it will bother a lot of people and cause regressions in their functional tests.