Project

General

Profile

Actions

bug #9978

open

Change of CacheStrategy from DerivedUnitFacade to DerivedUnitDefaultCacheStrategy results in different caches for MediaSpecimen

Added by Katja Luther about 2 years ago. Updated about 2 years ago.

Status:
In Progress
Priority:
Highest
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

10%

Estimated time:
Severity:
normal
Found in Version:

Description

Discuss which titleCache is the correct one.

In dataportal test the titleCache of a derived unit changed from "Germany, Berlin, 2 Apr 1835 (BHUPM: 671) Naturkundemuseum Berlin (MFN)" to "BHUPM: 671" caused by the change of the cacheStrategy from DerivedUnitFacadeCacheStrategy to DerivedUnitDefaultCacheStrategy.

We have to decide which is the wanted titleCache.


Related issues

Related to EDIT - feature request #5573: Cache Strategy for Media Specimen requiredClosedAndreas Müller

Actions
Related to EDIT - bug #9965: Newly created derived unit is not shown in selection dialogClosedKatja Luther03/07/202203/29/2022

Actions
Related to EDIT - feature request #5952: Second cache field for specimen (identityCache)ClosedAndreas Müller

Actions
Related to EDIT - task #9679: Formatter and update script for SpecimenOrObservationBase short cacheNewAndreas Müller

Actions
Related to EDIT - task #9678: Remove Derived- and FieldUnitFacadeCacheStrategiesClosedAndreas Müller

Actions
Actions #1

Updated by Katja Luther about 2 years ago

Actions #2

Updated by Andreas Müller about 2 years ago

  • Due date set to 03/16/2022
  • Priority changed from New to Highest
  • Start date set to 03/14/2022
  • Severity changed from normal to critical

Critical as dataportal tests fail

Actions #3

Updated by Andreas Müller about 2 years ago

  • Related to bug #9965: Newly created derived unit is not shown in selection dialog added
Actions #4

Updated by Andreas Müller about 2 years ago

  • Due date deleted (03/16/2022)
  • Status changed from New to In Progress
  • Assignee changed from Andreas Müller to Katja Luther
  • Target version changed from Release 5.31 to Release 5.45
  • Start date deleted (03/14/2022)
  • % Done changed from 0 to 10
  • Severity changed from critical to normal

Not critical anymore because we implemented workaround for critical problems in #9965.

Katja, can you document the current findings and problems that need to be solved to fix this ticket?

Actions #5

Updated by Andreas Müller about 2 years ago

  • Subject changed from Change of CacheStrategy from DerivedUnitFacade to DerivedUnitDefaultCacheStrategy results in different caches to Change of CacheStrategy from DerivedUnitFacade to DerivedUnitDefaultCacheStrategy results in different caches for MediaSpecimen
  • Description updated (diff)
Actions #6

Updated by Andreas Müller about 2 years ago

  • Due date set to 03/23/2022
  • Target version changed from Release 5.45 to Release 5.31
  • Start date set to 03/23/2022

Andreas Müller wrote in #note-4:

Not critical anymore because we implemented workaround for critical problems in #9965.

Katja, can you document the current findings and problems that need to be solved to fix this ticket?

I move this to 5.31 only for the above documentation. Please move back to 5.33 and remove start/due date after documentation.

Actions #7

Updated by Andreas Müller about 2 years ago

Actions #8

Updated by Andreas Müller about 2 years ago

  • Related to task #9679: Formatter and update script for SpecimenOrObservationBase short cache added
Actions #9

Updated by Andreas Müller about 2 years ago

  • Related to task #9678: Remove Derived- and FieldUnitFacadeCacheStrategies added
Actions #10

Updated by Andreas Müller about 2 years ago

  • Description updated (diff)
Actions #11

Updated by Katja Luther about 2 years ago

  • Description updated (diff)
  • Due date deleted (03/23/2022)
  • Target version changed from Release 5.31 to Release 5.45
  • Start date deleted (03/23/2022)

The initial problem was that the facade cache strategy created a string with a tailing dot and the derived unit cache strategy without a dot at the end, this first approach was to use the derived unit cache strategy also for derived unit facades, but this yields to more problems especially in the portal tests. So we decided to implement the facade cache strategy without a dot and the complete implementation should follow in one of the next releases.

Actions

Also available in: Atom PDF