Project

General

Profile

Actions

bug #9238

closed

pure entities in DerivateDTO.derivates may cause LIEs

Added by Andreas Kohlbecker over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib-remote
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
critical
Found in Version:

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

Related to EDIT - task #9252: Harmonize SpecimenOrOberservationBase related DTOsClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker over 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.

Actions #2

Updated by Andreas Kohlbecker over 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.

Actions #3

Updated by Andreas Kohlbecker over 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.

Actions #4

Updated by Andreas Kohlbecker over 3 years ago

  • Related to task #9252: Harmonize SpecimenOrOberservationBase related DTOs added
Actions #5

Updated by Andreas Kohlbecker over 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF