Open adambuttrick opened 1 year ago
@adambuttrick Is this still actually a problem? It should have been fixed on https://github.com/ror-community/ror-roadmap/issues/143. If it's not fixed, can you provide an example that passed when it should have failed?
@lizkrznarich It's still an issue. It happened in the last release. I'll contrive an example and link to it here.
Describe the bug The existing relationship validation allows for multiple relationships of different types between two records.
To Reproduce Steps to reproduce the behavior:
Expected behavior Validation should fail when a duplicate relationship of the same or different types is present in a record. Parent, Child, Related should never be duplicated for a related ID on a record, but its possible that one of those plus successor/predecessor is valid (but should still probably be flagged for sanity’s sake).