Project

General

Profile

Actions

bug #9395

closed

DerivedUnit.collectFieldUnits() and findFieldUnitDTOByAssociatedTaxon() and findByAccessionNumber() in OccurrenceService to return all root units

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

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

100%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

DerivedUnit.collectFieldUnits() needs to returns also DerivedUnits as root unit which do not have a FieldUnit. This is required for #7704

same accounts for the IOccurrenceService methods:

  • FieldUnitDTO findByAccessionNumber(String accessionNumberString, List orderHints);
  • List findFieldUnitDTOByAssociatedTaxon(Set includedRelationships,
  • Pager pageFieldUnitsByAssociatedTaxon(Set includeRelationships,

Related issues

Related to EDIT - feature request #7704: Dataportal specimen table should be able to show DerivedUnits without a FieldUnitClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #9397: Derivate tree view must show DerivedUnits even if the FieldUnit is missing ClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #9415: DNA and other Derivatives missing in DerivedUnitDTOClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #9213: specimen views 'compressed table' and 'derivate tree' fail when no fieldunits exists ClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker over 3 years ago

  • Related to feature request #7704: Dataportal specimen table should be able to show DerivedUnits without a FieldUnit added
Actions #2

Updated by Andreas Kohlbecker over 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #3

Updated by Andreas Kohlbecker over 3 years ago

Hi, for your information:

to solve this ticket I renamed and extended DerivedUnit.collectFieldUnits() as DerivedUnit.collectRootUnits(). I don't expect any probelms for other parts of the library.

Best
Andreas

Actions #4

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9397: Derivate tree view must show DerivedUnits even if the FieldUnit is missing added
Actions #5

Updated by Andreas Kohlbecker over 3 years ago

  • Related to bug #9415: DNA and other Derivatives missing in DerivedUnitDTO added
Actions #6

Updated by Andreas Kohlbecker over 3 years ago

  • Subject changed from DerivedUnit.collectFieldUnits() to return all root units to DerivedUnit.collectFieldUnits() and findFieldUnitDTOByAssociatedTaxon() and findByAccessionNumber() in OccurrenceService to return all root units
  • Description updated (diff)
Actions #7

Updated by Andreas Kohlbecker about 3 years ago

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

completed

Actions #8

Updated by Andreas Kohlbecker about 3 years ago

  • Status changed from Closed to In Progress
  • % Done changed from 100 to 50
Actions #9

Updated by Andreas Kohlbecker about 3 years ago

  • Status changed from In Progress to Resolved
Actions #10

Updated by Andreas Kohlbecker about 3 years ago

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

Updated by Andreas Kohlbecker about 3 years ago

  • Related to bug #9213: specimen views 'compressed table' and 'derivate tree' fail when no fieldunits exists added
Actions

Also available in: Atom PDF