OpenMetadata
OpenMetadata copied to clipboard
Deleting service and then adding/creating service of same name throws "409, Entity already exists"
Steps to reproduce:
- Create a service of same say
test - Delete the service
test - Try adding a service with name
test
https://user-images.githubusercontent.com/83201188/150905503-655b3141-f367-416d-819d-6878a2164a8f.mov
I'm also working on this. It could be a bug in the Java code too.
The behaviour is:
- An entity in deleted state after a PUT request gets restored.
- PUT is either create or update.
- POST request will be rejected with 409 if soft-deleted or non-deleted.
- POST can only be done after hard deleting the entity.
- We need to add support for hard delete in the next release.
Ping me in Slack if you need support.
@darth-coder00 Please handle the 409 in the UI.
@sureshms @harshach UI users cannot list deleted services yet.

@darth-coder00 Please handle the 409 in the UI.
@sureshms @harshach UI users cannot list deleted services yet.
@amiorin Handled 409 error on UI
CC: @harshach @sureshms