Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Dec 2014 at 15:08 UTC
Updated:
12 Jan 2015 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mondrakePatch.
Comment #2
dawehnerOh wow.
Thank you for the patch, do you mind writing some kind of test for it?
You could expand
\Drupal\views\Tests\ViewAjaxTestto check whether the required drupalSetting is available after the
drupalGet()call?Comment #3
mondrakeOk, here with some tests over the returning drupalSettings as per #2.
Comment #4
berdirWondering if the fix should be the other way round, even if the patch is going to be a bit more complicated.
This replaces the whole drupalSettings array and prevents anyone from adding something there. I guess that is not likely to happen but we had real bugs related to code like this in the past.
Comment #6
mondrakeChanges as per #4.
Comment #7
dawehnerLooks great for me now!
Comment #8
dawehnerComment #10
catchCommitted/pushed to 8.0.x, thanks!