Hi all

I'm building a blog with Drupal 7 + Panel 3 + View 3

In my project I built a view (blog) with two blocks:
a) one that shows all the articles, in which I defined a contextual filter (year+month)
b) one that presents a simple list of links with month and year of the articles present in the database. That links points to page 2) and they have href= /archivio/YYYYMM

and two pages:
1) /blog
2) /archivio/!data

In both the pages has been defined a panel in which are displayed the blocks a) and b).

Page 2) uses an optional argument of type string (!data) to pass to view year and month in which to display the items, in the format YYYYMM, using the variable %date:row in this context.

Now, clicking the link in view b) (ie February 2012) the page 2) displays correctly but then, if I click another link (eg. March 2012), the url changes to /archivio/201203, but the content of the page remains unchanged!
If I wait about twenty seconds and then retry refreshing the page, I finally see the right items.

From what I could see, the problem seems to be caused by the panel that keeps a cache of the page + context that shows me the same page even if the context has changed!

Note that I disabled all caches in panel items and views, but the result does not change.
Moreover, clearing the cache via drush or drupal, the pages still do not change correctly!

What can I do? Where am I wrong? Thanks all!

Comments

th3m4trix’s picture

Status: Active » Needs review

Maybe I understood why it didn't work!
I deleted and recreated the panel, I set an argument and a context and now it works prefectly!
If I create the panel and then I add a argument, it can don't work well!

kingdee40’s picture

This is definitely a bug, I just had a similar problem today. In my case I wasn't using views, it seems when you create a variant with caching, then go back and change around the same variant you get major caching issues.

merlinofchaos’s picture

Status: Needs review » Active

'needs review' means there is a patch attached.

lsolesen’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still the case with the latest dev?

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Fixed

Closing for inactivity. Please reopen with exact steps to reproduce on latest dev, if you still have the issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

DamienMcKenna’s picture

Title: Panel + View cache issue » Panels + Views cache issue
Version: 7.x-3.0 » 7.x-3.4
Component: Panel pages » Views panes
Status: Closed (fixed) » Active

We're dealing with this exact bug on a large site - the cached display for one instance of a views display in a Panelizer-managed nodes is stomping on another.