Describe the bug
It's possible to deploy records with multiple instance of the exact same relationship because the validation suite does not check this. The create_relationships script does not allow duplicates, however, if relationships are added/edited outside of this script, it's possible to introduce duplicates.
To Reproduce
Steps to reproduce the behavior:
Add/edit a duplicate relationship in a record without using the create_relationships script
Run validation
Validation will pass and record can be deployed
Expected behavior
Validation should fail if a record contains multiple relationships with the same label and type.
Describe the bug It's possible to deploy records with multiple instance of the exact same relationship because the validation suite does not check this. The create_relationships script does not allow duplicates, however, if relationships are added/edited outside of this script, it's possible to introduce duplicates.
To Reproduce Steps to reproduce the behavior:
Expected behavior Validation should fail if a record contains multiple relationships with the same label and type.