bug #7103
closedverify, fix, improve SpecimenTypeDesignationWorkingSetServiceImpl delete functions
100%
Description
SpecimenTypeDesignationWorkingSetServiceImpl
implements the delete operation for SpecimenTypeDesignationWorkingSetDTO<Registration>
and also handles the removal of SpecimenTypeDesignations
from a workingset. For both test are implemented in SpecimenTypeDesignationWorkingSetServiceImplTest
but they still fail completely or not all assumptions are fulfilled:
deleteTypeDesignationTest
: fails completely and is ignoreddeleteWorkingsetTest
: works but the deletion of the working set is not complete:- the gathering event is not deleted, should it be deleted by orphan removal?
- media are not affected be the deletion, should be an option in
SpecimenDeleteConfigurator
?
Updated by Katja Luther almost 7 years ago
- Assignee changed from Katja Luther to Andreas Kohlbecker
The delete in OccurrenceService is updated. Now the deletion of field units of a specimen used in a typedesignation works within a cdmlib service test (see OccurrenceServiceDeepDeleteTest.testDeepDelete_FieldUnitWithTypeDesignation()), the deletion of the gathering event if it is not used somewhere else, works too (see testDeepDelete_FieldUnit()).
Please try if the tests in vaadin work as well.
Updated by Katja Luther almost 7 years ago
- Status changed from New to In Progress
Updated by Andreas Kohlbecker almost 7 years ago
- Target version changed from Release 4.12 to Release 4.13
Updated by Andreas Kohlbecker almost 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 70
Updated by Andreas Kohlbecker over 6 years ago
- Status changed from Resolved to Closed
- % Done changed from 70 to 100