Repository navigation
AER-3979 Replaced duplicate source id check with more generic cohesion check in reading GML - #402
Merged
Conversation
…n check in reading GML The check in GMLConversionData was only used for emission sources. But that check is also part of the cohesion check that also test other id's. Therefore, use more generic one. Note that when imported with schema validation these checks never trigger because the schema validation will already report duplications and not process the file any further.
MichielJanssen-DAT
left a comment
Contributor
There was a problem hiding this comment.
ACK to use COHESION_DUPLICATE_SOURCE_IDS and check for other issues using SituationCohesionValidator.checkCohesion.
Should this be merged together with changes (removing GML_ID_NOT_UNIQUE) in other repositories?
Member
Author
|
@MichielJanssen-DAT Not needed to be merged with other repos as they don't use this snapshot version yet. If they start using it, it likely only an issue for the translations that will fail the unit test checking if everything matches as there is no direct usage of the enum value (references go implicit via the error code). |
MichielJanssen-DAT
approved these changes
Oct 13, 2026
MichielJanssen-DAT
left a comment
Contributor
There was a problem hiding this comment.
ACK as long as other repositories with GML_ID_NOT_UNIQUE don't use this (snapshot) version yet
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The check in GMLConversionData was only used for emission sources. But that check is also part of the cohesion check that also test other id's. Therefore, use more generic one.
Note that when imported with schema validation these checks never trigger because the schema validation will already report duplications and not process the file any further.