feature request #5575
DNA Sample requires CacheStrategy
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
ref #5575 refactor initialization of cache strategy (initialize when needed, not in constructor)
#3 Updated by Andreas Müller about 2 months ago
- 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
#4 Updated by Andreas Müller about 1 month ago
- 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