NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item11452: MetaCache robustness: remove from cache on $topicObject->finish()
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Engine |
|
PaulHarvey |
Presently, metacache can return a finished Foswiki::Meta obj if somebody somewhere has called
$topicObject->finish().
This madness is/will be repaired in the store2 refactor (read-only topicObjects).
As most developers are naughty and generally don't
->finish() their objects in quite the sequence and circumstances (interactions with
SEARCH) required to trigger this bug, nobody but me seems to have noticed.
--
PaulHarvey - 18 Jan 2012
Originally found while working on
Item11431
--
PaulHarvey - 18 Jan 2012
Fn_SEARCH::test_metacache_madness was committed under
Item11431,
Foswikirev:13694 and
Foswikirev:13693
--
PaulHarvey - 19 Jan 2012
Fixed incorrect removeMeta return value on Release01x01
--
PaulHarvey - 19 Jan 2012