Closed (fixed)
Project:
Flag
Version:
7.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2012 at 13:05 UTC
Updated:
10 Aug 2012 at 12:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
amitaibubtw, You can see this bug if you try to use flag in simpleTest.
Comment #2
joachim commentedI don't entirely understand your first comment -- does this patch depend on the bugfix at #1113904: Use drupal_static() instead of plain ol' static?
Comment #3
amitaibuNo it doesn't. I didn't want to change the cache to
drupal_static()in this patch.The patch simply adds a missing reset.
Comment #4
joachim commentedOK, so I can commit this fix first, without the patch over at that other issue?
Comment #5
joachim commentedWe've lost a parameter here.
Comment #6
amitaibuRerolled.
> We've lost a parameter here.
Indeed, we don't need the $reset anymore, as we can/ should use
drupal_static_reset()Comment #7
joachim commentedCommitted to both 7 branches.
Thanks!
Issue #1395034 by Amitaibu: Fixed flag_get_content_flags() static cache not cleared on flag.