Needs work
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Views Content
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2013 at 21:47 UTC
Updated:
7 Apr 2015 at 19:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
codycraven commentedMoving the array_splice to insert the $arg value into the $args array from the if condition to outside of the condition block solves the issue.
Comment #2
johnle commentedI've just tested this and the arrays are now being preserve with null values, instead of of having their arguments remove. This works perfectly when passing multiple arguments into the views from panels now.
Comment #3
codycraven commented#1863166: Bad arguments when first optional context argument is unavailable appears to be a duplicate issue.
I did not find that the issue existed before I posted the issue and patch here.
Comment #3.0
codycraven commentedFixed grammar tense
Comment #4
japerryTested, fixed, and committed:
http://drupalcode.org/project/ctools.git/commit/1887d8dc018bf6dfd20ec297...
Comment #6
checker commentedThis patch does not work well with views and panels arguments. See #2198447: Arguments not being send from Panels to Views with ctools 1.4 and #2196197: Send Arguments: //%1.
Comment #7
japerryRe-opening. I've reverted the commit because I cannot accurately test this patch and get a fix in a day. If someone with more experience here can test this, It'd be great to see the original issue fixed without causing the regression.
Comment #8
y0shi commentedI can confirm this commit broke views getting arguments (took a while to debug.. unfortunately I found the bug AFTER it was reverted)
Comment #9
geek-merlinI'm quite sure views chokes on NULL arguments, so try using '' instead:
Replace
with