From: Mitra <mi...@ea...> - 2003-05-11 14:11:10
|
Honza I've found what looks like a bug in caching, get_output_cached stores in the cache based on $this->slice_info->id BUT ..... if it is called from GetViewFromDB, which has been called with a view_param containing slice_id, then this slice_info->id still refers to the slcie where the View was DEFINED, not to the View_param/slice_id The easiest fix, is to set slice_info->id to that in view_param, any other fix would be a bit harder to figure out. Any idea if this will break anything? it seems to work, but I'm not 100% certain, so I haven't committed it to CVS. - Mitra -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-722 Life is a Mystery to be Lived, not a Problem to be Solved |