Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MBS-12780: Fix allowNew check for AddRelationship
This was checking for the entity0 and entity1 passed outside the relationship itself - which we were also adding to the relationship data for display. But we were only passing this if the ID was not defined in the first place, so this check was nonsensical AFAICT. In fact, I cannot find any reason to pass entity0 and entity1 outside the relationship, since we're already passing them inside it. I'm also removing the source_type and target_type that I had added in 9b0eae3 since AFAICT we're again not using those, but the ones inside the relationship object.
- Loading branch information
1 parent
d86aadc
commit 1fd73c3
Showing
3 changed files
with
5 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters