Project

General

Profile

feature request #7612

CacheStrategy for MediaSpecimens

Added by Andreas Kohlbecker over 2 years ago. Updated about 2 months ago.

Status:
In Progress
Priority:
New
Category:
cdmlib
Target version:
Start date:
07/31/2018
Due date:
% Done:

40%

Severity:
normal

Description

The DerivedUnitFacadeCacheStrategy has no support for MediaSpecimens.

see #7608 for which the creation of a string representation has been implemented in TypeDesignationSetManager.

This implementation makes certain assumptions regarding the data:

  • The reference reference detail of the media is placed in media.sources.citation and the media.sources.citationDetail
  • The media can otherwise be empty
  • A MediaSpecimen without collection is treated as published image/media

Even if this usage is somewhat unorthodox it is a pragmatic solution store this data despite the fact that media specimens are not fully supported for real usecases.


Related issues

Related to Edit - bug #7608: TypeDesignationSetManager: string representations for media types are missing Closed 07/31/2018
Related to Edit - feature request #5575: DNA Sample requires CacheStrategy Resolved 02/18/2016
Related to Edit - feature request #5573: Cache Strategy for Media Specimen required New 02/18/2016

Associated revisions

Revision 197a9558 (diff)
Added by Andreas Müller about 2 months ago

ref #7612 a first (preliminary) version of MediaSpecimenDefaultCacheStrategy

Revision 26008f31 (diff)
Added by Andreas Müller about 2 months ago

ref #5573, ref #7612 adapt MediaSpecimenDefaultCacheStrategy to OccurrenceCacheStrategyBase

History

#1 Updated by Andreas Kohlbecker over 2 years ago

  • Related to bug #7608: TypeDesignationSetManager: string representations for media types are missing added

#2 Updated by Andreas Müller about 2 months ago

  • Status changed from New to In Progress
  • Target version changed from Unassigned CDM tickets to Release 5.19

To me it is a bit unclear what the suggestion is how the MediaSpecimen cache strategy should be implemented.

#3 Updated by Andreas Müller about 2 months ago

  • % Done changed from 0 to 40

I implemented now a very basic version of the cache strategy to avoid -titleCache not yet implemented- messages

#4 Updated by Andreas Müller about 2 months ago

#5 Updated by Andreas Müller about 2 months ago

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)