Cannot create instance with same name when deleted #167

Closed
opened 2025-08-22 07:33:19 +00:00 by tobru · 0 comments
Owner

Description

Recreating a service instance with the same name as a former deleted instance doesn't work.

Steps to Reproduce

  1. Create service instance with name "yay"
  2. Delete service instance again
  3. Create service instance with name "yay"

This will not work with "An instance with this name already exists in this organization. Please choose a different name."

Expected Behavior

Deleted service instances should not block creating an instance with the same name again.

Possible Solution

Actually delete the service instance in the database; don't just mark it as deleted.
We might want to record the deleted instance somewhere for future reference. Maybe it's time to introduce auditlog?

## Description Recreating a service instance with the same name as a former deleted instance doesn't work. ## Steps to Reproduce 1. Create service instance with name "yay" 2. Delete service instance again 3. Create service instance with name "yay" This will not work with "An instance with this name already exists in this organization. Please choose a different name." ## Expected Behavior Deleted service instances should not block creating an instance with the same name again. ## Possible Solution Actually delete the service instance in the database; don't just mark it as deleted. We might want to record the deleted instance somewhere for future reference. Maybe it's time to introduce [auditlog](https://django-auditlog.readthedocs.io/)?
tobru added the
bug
label 2025-08-22 07:33:19 +00:00
tobru added this to the Development Planning project 2025-08-22 07:33:19 +00:00
tobru closed this issue 2025-09-08 07:21:38 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: servala/servala-portal#167
No description provided.