Closed (fixed)
Project:
Domain Views
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2012 at 11:21 UTC
Updated:
20 Oct 2012 at 14:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardFascinating. I didn't write that patch. Can we key off $_domain['machine_name']?
Comment #2
rudiedirkx commentedThe key needs something View specific. I dont know how much. Less than the View's entire build info. Maybe the build info minus arguments/wildcards/placeholders? Or maybe just the view name + display name (technically enough).
Comment #3
agentrickardThe problem is that Views is passing a QuerySelect object, not a query string.
Comment #4
agentrickardHere's a patch that removes the ***CURRENT_TIME*** element from the cache key. Should work.
Comment #5
agentrickardBetter, more complete patch.
Comment #6
rudiedirkx commentedAs expected, that does it. In this case only the CURRENT_TIME placeholder was too variable. I can image there are more placeholders too variable though...
Comment #7
agentrickardHard to say. Much of the data there is necessary to alter the access query. It _may_ be that even removing the timestamp is a bad idea.
Comment #8
rudiedirkx commentedRemoving it from the build_info would be a bad idea, yes, but you don't. Removing it from the cache hash is necessary, otherwise the cache class is useless.
Comment #9
agentrickardLet's go ahead and commit this, then.
Comment #10
agentrickardComment #11
rudiedirkx commentedDamn, you're fast. Good stuff.
Comment #12
agentrickardI don't consider 19 days to be "fast" by any measure.