Delete entity object

Hi all   When I want to delete an object of an entity with the standard delete on click action (Picture 1) the object still remains in the database. I know this because 2 values in the entity have to be unique and after the deletion of an object and creation of an object with the same name, it tells me this name is already used (Picture 2). Could someone help me here?   Picutre 1:   Picture 2 (this is after deletion of the first ‘test’ username):
1 answers

There are no error messages in the console when deleting the object.


Domain model with delete behaviour:


Entity Access for creator role:


Entity Access for deleter role:


I’m new to mendix I hope it wasn’t just a dumb mistake or so that caused this.