Skip to content

Conversation

@arthanson
Copy link
Collaborator

Fixes: #14033

On cable creation, don't allow cables to have A and B terminations pointing to the same object.

@arthanson arthanson marked this pull request as ready for review October 16, 2023 21:37
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per @abhi1693's comment, let's move this logic from the form to Cable.clean() to ensure the same validation is applied for cables created via the REST API as well.

@jeremystretch
Copy link
Member

Thanks @arthanson!

@jeremystretch jeremystretch merged commit b3fb393 into develop Nov 1, 2023
@jeremystretch jeremystretch deleted the 14033-cable-same-object branch November 1, 2023 20:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cable registration to the same Interface results in a server error.

4 participants