Discovered a bug from the recent refactor where setting entity exceptions for one schema would remove entity types of all other schemas on the same program. This updates the behaviour when setting entity exceptions to replace all exceptions for one schema (based on the file headers) while leaving the existing entity exceptions for all other schemas.
Checklist
Type of Change
[x] Bug
[ ] Refactor
[ ] New Feature
[ ] Release Candidate
Checklist before requesting review:
[x] Check branch (code change PRs go to develop not master)
[x] Check copyrights for new files
[x] Manual testing
[x] Regression tests completed and passing (double check number of tests).
[x] Spelling has been checked.
[x] Updated swagger docs accordingly (check it's still valid)
[x] Set validationDependency in meta tag for Argo Dictionary fields used in code
Description
Discovered a bug from the recent refactor where setting entity exceptions for one schema would remove entity types of all other schemas on the same program. This updates the behaviour when setting entity exceptions to replace all exceptions for one schema (based on the file headers) while leaving the existing entity exceptions for all other schemas.
Checklist
Type of Change
Checklist before requesting review:
develop
not master)validationDependency
in meta tag for Argo Dictionary fields used in code