Incorporated review comments review 1428: - Refactored ClearHydraulicBoundaryLocationOutput in the RingtoetsDataSynchronizationService: -- Function does not only return the affected the locations, but also the affected objectCollections that contain these locations -- Incorporated said functionality in the Contribution- and NormChangeHandlers -- Removed obsolete functions to retrieve the objectCollections for the HydraulicBoundaryLocations residing within specific failure mechanisms - Fixed failing tests: -- Created new instance of the TestHydraulicBoundaryLocation for the GgrassCoverErosionOutwardsHydraulicBoundaryLocation in the FailureMechanismContributionPropertiesIntegrationTest. Test will fail otherwise: the RingtoetsDataSynchronisationService only adds the ObjectCollections if the affectedObjects contain elements. Because the TestHydraulicBoundaryLocation was a shares its reference between the GrassCoverErosionOutwardsHydraulicBoundaryLocation and the HydraulicBoundaryLocation (of the Database), the second clear of the hydraulic boundary location output in the database did not contain any elements. This resulted in the hydraulic boundary database not being added to the list of affected objects and a missing observer call.
Related to Issue [
WTI-1081]
git-svn-id:
https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8015 5a3db67b-de53-47b5-99c8-a1c30a6650e2
Former-commit-id: 1f2aaf41343b57aa29c6c41ce28449a647972468
Former-commit-id: 62c16994367992d571551849f139a7c46002f980