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.
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 to feature request #7704: Dataportal specimen table should be able to show DerivedUnits without a FieldUnit added
- Status changed from New to Resolved
- % Done changed from 0 to 50
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
- Related to bug #9397: Derivate tree view must show DerivedUnits even if the FieldUnit is missing added
- Related to bug #9415: DNA and other Derivatives missing in DerivedUnitDTO added
- 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)
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
- Status changed from Closed to In Progress
- % Done changed from 100 to 50
- Status changed from In Progress to Resolved
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
- Related to bug #9213: specimen views 'compressed table' and 'derivate tree' fail when no fieldunits exists added
Also available in: Atom
PDF