Views preview crashes when using pager in multi-lingual site.

The view gives out JSON in text area box ( look picture).

This issue can be duplicated for example using Drupals own Multilingual Demo.

Steps to reproduce:
1. Go to Multilingual demo or any multilingual Drupal 8 site that has URL detection method enabled.
2. Go to any view that has data in it ( for example People)
3. Change settings to Use pager.
4. try changing the page in preview.

This only happens when there is a language code in the url, while in the view edit page.

CommentFileSizeAuthor
Screen Shot 2017-03-20 at 13.50.02.png248.55 KBeeahktzugr
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

eeahktzugr created an issue. See original summary.

cilefen’s picture

Issue tags: -views +JavaScript
droplet’s picture

Version: 8.2.x-dev » 8.3.x-dev
Issue tags: +multilingual, +Needs JS testing

Confirmed. On Multilingual preview, it hasn't return JSON type in Content-Type. It works in the normal page so I guess the View UI preview code removed the header info.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.