There seems to be a new issue with views content panes argument handling introduced in version 1.11.
After updating we noticed that a glossary view using ajax was ignoring the argument and always returning the default
To reproduce the issue;
Launch simplytest.me with:
eg here: https://goo.gl/gKQqI2
Enable the following modules:
- views content panes
- devel
- devel generate
- panels
- mini panels
- views
- views ui
Use devel generate to create a number of basic page nodes.
Import this view:
http://pastebin.com/dhavxysA
Import this mini panel
http://pastebin.com/YDWgHF14
Edit the mini panel, go to the content tab and click live preview, clicking the glossary links in the attachment does not update the main content area.
Comments
Comment #2
somatick commentedI am attaching a suggested fix, which is simply that if the pane has no specific argument option set, (ie 'none') and there are existing arguments in the view (such as when set via views_ajax), to use the existing arguments instead of a NULL argument,
Comment #3
somatick commentedComment #4
somatick commentedComment #5
somatick commentedComment #6
rivimeyComment #7
dieuweThanks, this patch works great.
Comment #8
thalemn commentedThanks, I can confirm that the patch works on CTools 1.11.
Is this something that will be added to new releases? I don't think it's in 1.12.
Comment #9
japerryIt looks like you're using the dev branch that included #2180775: Allow views argument from context to make use of context arguments -- this had the code that caused this regression and has been reverted.
Comment #10
japerryDrupal 7 is no longer supported, closing.