During the resolution of #2982 we had tests freezing on the CI : they were prompting for migration because of the CapellaScope.checkCapellaVersion(Resource)).
CapellaScope looks for the <!--Capella_Version_7.0.0--> comment in the ".capella" files and parse it to find the major.minor.patch version.
This check for version compatibility is extremely brittle : it assumes the version number can only be 5 characters long, textually parses something in the .capella file, and does not work in debug mode.
CapellaScope.checkCapellaVersion(Resource) should be changed to use the code that is used everywhere else to check for migration requirement (org.polarsys.capella.core.af.integration.CapellaMetadataProvider).
During the resolution of #2982 we had tests freezing on the CI : they were prompting for migration because of the
CapellaScope.checkCapellaVersion(Resource)).CapellaScope looks for the
<!--Capella_Version_7.0.0-->comment in the ".capella" files and parse it to find the major.minor.patch version.This check for version compatibility is extremely brittle : it assumes the version number can only be 5 characters long, textually parses something in the .capella file, and does not work in debug mode.
CapellaScope.checkCapellaVersion(Resource)should be changed to use the code that is used everywhere else to check for migration requirement (org.polarsys.capella.core.af.integration.CapellaMetadataProvider).