After updating panels to 7.x-3.7, the tabs on my site have broken. I have several tabs which contain one or more views in them.
I tracked it down to the commit from this issue: 2391073.

If I revert the changes from that commit, everything works fine. Seems like the cache isn't playing nice with ajax tabs but I don't know enough about how this works to fix it myself. For now I just removed the offending code.

Can I get a second set of eyes on this?

Thanks,
Jordan

Comments

jordanrussellsmith created an issue. See original summary.

jordanrussellsmith’s picture

jordanrussellsmith’s picture

Issue summary: View changes
abaier’s picture

I am experiencing the same issue. On first page load both of my two tabs work correctly, but if I navigate to another page and come back, the second tab shows "undefined" instead of the content.

roderik’s picture

Status: Active » Needs review
StatusFileSize
new500 bytes

In my case: when clicking the second tab (which is an AJAX request), the execution path is apparently different, Ctools' plugin.inc is not loaded, and ctools_get_plugins() is an undefined function.

So the request crashes (probably returning a HTTP code 500) - and apparently the Javascript that makes the AJAX request, prints "undefined" in that case.

I don't know why exactly this appeared at the panels upgrade. But it's easy enough to fix.

rahul.shinde’s picture

Assigned: Unassigned » rahul.shinde
rahul.shinde’s picture

Assigned: rahul.shinde » Unassigned
Status: Needs review » Fixed

While setting up this module for reducing the count of the issues I found this bug #3008522: While switching tab getting error "Call to undefined function ctools_get_plugins()" and committed the fix. That changes will take care this as well.

Status: Fixed » Closed (fixed)

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