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
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | panels_ajax_tabs-undefined_tab-2789703-5.patch | 500 bytes | roderik |
Comments
Comment #2
jordanrussellsmith commentedComment #3
jordanrussellsmith commentedComment #4
abaier commentedI 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.
Comment #5
roderikIn 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.
Comment #6
rahul.shindeComment #7
rahul.shindeWhile 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.