We have some panels where we want to use Authcache, and other panels that should use the simpler Panels Content Cache (https://www.drupal.org/project/panels_content_cache).

If a panel has no cache settings, we are able to select "Content cache" as the option and set its values. However, if we attempt to modify the cache settings for a panel where Panels Content Cache has already been set, it displays Authcache settings instead (even though Authcache was never set for the panel).

At that point is no way to access the Panels Content Cache settings other than to (1) remove all cache settings on the panel and start again cleanly at the beginning, or (2) disable the Authcache module.

Comments

ron_s created an issue. See original summary.

sgdev’s picture

Title: Conflict with Panels Content Cache » Improper load of cache settings forms when Panelizer has not been saved
Project: Authenticated User Page Caching (Authcache) » Panelizer (obsolete)
Version: 7.x-2.x-dev » 7.x-3.x-dev
Related issues: +#2305687: Available panes list doesn't refresh until Panelizer display saved

After some further testing, I think this might be related to issue #2305687. There is some issue with form caching when Panelizer has not yet been saved for a page, and changes are made.

How to reproduce the issue:

  1. Include multiple panels cache options (such as Authcache, Panels Hash Cache, and Panels Content Cache) on a site.
  2. Select any of the three cache options for the first pane, and configure/save settings.
  3. Go to a second pane, and choose a different cache option than the one selected in #2. Configure/save settings.
  4. Return to the pane set in #2, and select its cache settings.
  5. Instead of displaying the form associated with the panels cache of #2, it shows the panels cache of #3.

The only ways to avoid this problem are to:

  • Only have one panels cache option enabled
  • Remove all cache settings for a pane and re-add the proper cache option before saving
  • Save the Panelizer page each time a pane's cache options have been added/updated