Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1845 closed defect (fixed)

Changing the conversion formula for a unit doesn't invalidate the snapshot cache

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.3.1
Component: core Version:
Keywords: Cc:

Description

The snapshot cache is used to increase performance when loading annotation values. The values in the cache should be the same as the values in the database.

If the conversion factor for a unit is changed all annotation values that are relative to that unit are re-calculated, but the snapshot for the affected annotations are not invalidated.

Fortunately, conversion factors between units never change in the real word, so the only way this can happen is if a mistake has been made when registering new units.

Change History (2)

comment:1 by Nicklas Nordborg, 10 years ago

Resolution: fixed
Status: newclosed

(In [6532]) Fixes #1845: Changing the conversion formula for a unit doesn't invalidate the snapshot cache

comment:2 by Nicklas Nordborg, 10 years ago

Milestone: BASE 3.4BASE 3.3.1
Note: See TracTickets for help on using tickets.