Incorporated comments tester: WTI-1991- Set the orientation to NULL / NaN when revetment calculations use an invalid foreshore profile- Added missing asserts
Cleanup: WTI-1991- Moved deletions before the foreign key constraint. Deletions already guarantee that the orphaned entries for illustration points are removed due to triggers- Added logic to remove dike height and overtopping rate output in case of invalid dikeprofiles to prevent orphans
Cleanup: WTI-1991- Cleaned up migration script --> changed migration logic to prevent orphans in the database after migration.-- Applied for Revetment outputs
Cleanup: WTI-1991- Cleaned up migration script --> changed migration logic to prevent orphans in the database after migration.-- Applied for structures
Updated migration logic dikeprofiles: WTI-1991- Added testcases to verify behaviour- Updated queries to migrate correct calculation settings when the calculation uses an invalid foreshoreprofile
Updated migration logic: WTI-1991- Additional cases added to verify behaviour when there's only a dam present in the foreshore profile definition- Synchronised calculation names for the ease of testing
Updated migration logic: WTI-1991- Updated migration of grass cover erosion outwards calculations --> value should be 'Both' when output is removed in case of an invalid foreshore profile.
Updated migration logic: WTI-1991- Do not migrate calculation outputs that are based on invalid foreshoreprofiles-- Performed for GrassCoverErosionOutwards
Updated migration logic: WTI-1991- Do not migrate calculation outputs that are based on invalid foreshoreprofiles-- Performed for WaveImpactAsphalt and StabilityStoneCover outputs
Updated migration logic: WTI-1991- Do not migrate calculation outputs that are based on invalid foreshoreprofiles-- Performed for the structures related output
Updated migration logic: WTI-1991- Updated queries to migrate correct calculation settings when the calculation uses an invalid foreshoreprofile-- Temporarily disabled tests for grass cover erosion outwards- Updated MigrationTestFile to include cases for foreshore and dikeprofiles
Adjusted dikeprofile importer: WTI-1990- Adjusted importer to not allow dikeprofile definitions containing less than 2 points as a geometry-- Dike profile importer should also not allow foreshore profiles with one point as geometry-- Added testcases and renamed existing cases for clarity
Adjusted foreshoreprofile importer: WTI-1990- Adjusted importer to not allow foreshore profile definitions containing only one point as a geometry-- Added testcases and renamed existing cases for clarity