bug #9238
closedpure entities in DerivateDTO.derivates may cause LIEs
100%
Description
this request http://int.e-taxonomy.eu/cdmserver/integration_reference/portal/occurrence/89d36e79-3e80-4468-986e-411ca391452e/derivateHierarchy.json for example ends in a LazyInitializationException
The problem here is that the response object for the derivateHierarchy is a FieldUnitDTO which is not a clean DTO but contains the hierarchy as field derivates
which contain the specimenTypeDesignations
as cdm entitiy which brings the whole derivation graph.
Related issues
Updated by Andreas Kohlbecker about 3 years ago
- Subject changed from portal/occurrence/{uuid}/derivateHierarchy service has great potential for LIEs to pure entities in DerivateDTO.derivates may cause LIEs
this issue is problematic also in the context of other controller methods where DerivateDTO is being involved.
Adapting the ticket subject accordingly.
Updated by Andreas Kohlbecker about 3 years ago
- % Done changed from 0 to 20
The introduction of the SpecimenTypeDesignationDTO causes a couple problems since this dto is quite incomplete so far.
Updated by Andreas Kohlbecker about 3 years ago
- Status changed from New to Resolved
- % Done changed from 20 to 50
this should be fully solved now. Ticket can be closed as long as no further problems are popping up during the testing.
Updated by Andreas Kohlbecker about 3 years ago
- Related to task #9252: Harmonize SpecimenOrOberservationBase related DTOs added
Updated by Andreas Kohlbecker about 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100