Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2008 at 22:24 UTC
Updated:
28 Oct 2009 at 06:35 UTC
I don't know or this is wrong in the documentation or in the code. The function 'cache_get' has documented:
* - CACHE_TEMPORARY: Indicates that the item should be removed at the next
* general cache wipe.
However when life time is on and the general wipe is done the temporary cache ain't removed at the moment. Because I think the code is leading there should be added a little. After fixing this the test at http://drupal.org/node/276267 should be fixed.
Comments
Comment #1
R.Muilwijk commentedLast paragraph should be:
However when life time is on and the general wipe is done the temporary cache ain't removed at the moment. Because I think the code is leading there should be added a little comment with th exeption when life is enabled. After fixing this the test at http://drupal.org/node/276267 should be fixed.
Comment #2
catchI think this is the same bug Morbus brought up in http://lists.drupal.org/pipermail/development/2008-June/030247.html (no solution there either)
Could we make minimum lifetime one second or something?
Comment #3
R.Muilwijk commentednah, that is the one that makes
never called so you can't really use expiry in the 'cache' table.
This bug however shows a wrong documentation or wrong implemented code. The code says when using life time the cache stays for that period of time but the documentation says it will be removed after every general wipe.
My suggestion is to add to the documentation something like:
Comment #4
catchJust a note that there's a patch which was applied to D6 but never made it into D7 that's at least somewhat related. The test still fails wth it applied though #226728: Temporary cache table entries are not flushed.
Comment #5
yonailo commentedcatch, can you point us to the patch you are talking about ?
Thanks.
Comment #6
catchunknown guy - I linked to it in #4 #226728: Temporary cache table entries are not flushed
Comment #7
simeLinked issue is now for D7, makes this a duplicate now, I assume.