Duplicate Service Name causes Instance Detail to fail #220

Closed
opened 2025-10-03 13:53:53 +00:00 by tobru · 1 comment
Owner

Description

When two or more service instances in an organization have the same name, the detail view breaks with:

ServiceInstance.MultipleObjectsReturned:get() returned more than one ServiceInstance -- it returned 2!

Steps to Reproduce

  1. Create a service instance named "test"
  2. Create another service instance also named "test"
  3. See it fail

Expected Behavior

It must be possible that service instances have the same name.

Possible Solution (Optional)

Include the service ID in the URL scheme, just like we do for example for organizations.

## Description When two or more service instances in an organization have the same name, the detail view breaks with: ``` ServiceInstance.MultipleObjectsReturned:get() returned more than one ServiceInstance -- it returned 2! ``` ## Steps to Reproduce 1. Create a service instance named "test" 2. Create another service instance also named "test" 3. See it fail ## Expected Behavior It must be possible that service instances have the same name. ## Possible Solution (Optional) Include the service ID in the URL scheme, just like we do for example for organizations.
tobru added the
bug
label 2025-10-03 13:53:53 +00:00
tobru added this to the Development Planning project 2025-10-03 13:53:53 +00:00
Author
Owner

@rixx I created a fix in #221 to unblock some testing. Please don't hesitate to revisit it if there is a better way to solve it. Otherwise we can close this issue.

@rixx I created a fix in #221 to unblock some testing. Please don't hesitate to revisit it if there is a better way to solve it. Otherwise we can close this issue.
rixx closed this issue 2025-10-17 03:59:42 +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#220
No description provided.