feature request #5575
closed
DNA Sample requires CacheStrategy
Added by Andreas Müller about 8 years ago.
Updated over 2 years ago.
Description
What exactly do we want to have in a generic DnaSample Cache Strategy? Is it possible to have a common strategy? A pure DNA Sample only derived from field unit may have different requirements than a sample in a full derivation hierarchy.
Discuss with users: #4585
See also #5573 and #5581
- Description updated (diff)
- Private changed from Yes to No
- Status changed from New to In Progress
- Priority changed from New to Priority14
- Target version changed from Unassigned CDM tickets to Release 5.19
- % Done changed from 0 to 30
I added a very first version for DNASample cache strategy to avoid the -titleCache not availble- messages
- Target version changed from Release 5.19 to Release 5.21
As TissueSample are currently still handled as DnaSample modellwise (to allow adding of sequences directly without DnaSample intermediate) we need to distinguish the correct CacheStrategy depending on the SpecimenOrObservationType. This can only be done after constructing the object as otherwise the type has not been filled by hibernate yet for persistent objects.
Therefore I refactored the initialization of cache strategies in the way that they are only loaded when needed: 493cdee0c5
- Related to task #9455: Merge DnaSample and DerivedUnit added
- Status changed from In Progress to Resolved
- Target version changed from Release 5.21 to Release 5.20
- Related to task #9595: Use DerivedUnit or DnaSample for DnaSampleGeneralDetailElement added
- Target version changed from Release 5.20 to Release 5.25
- Status changed from Resolved to Feedback
The initialization of the cache strategy does not seem to fully work yet. See comment in #9595#note-2
- Target version changed from Release 5.25 to Release 5.23
- % Done changed from 30 to 80
- Related to task #9678: Remove Derived- and FieldUnitFacadeCacheStrategies added
- Status changed from Feedback to Closed
- % Done changed from 80 to 100
Not sure if this is already fully fixed but it needs to be adapted/tested anyway once we unify DnaSample with DerivedUnit class. Also we have an explicit DerivedUnitDefaultCacheStrategy now (#9678) which may improve the situation with cache strategy loading.
So for now I close this ticket.
Also available in: Atom
PDF