This module has stopped working when updating Views to the latest version (3.17, a security fix: https://www.drupal.org/node/2902604)

I have verified this on a simplytest.me site
Views 3.16, Views Infinite Scroll 2.0: works
Views 3.17, Views Infinite Scroll 2.0: never loads new content

Comments

emek created an issue. See original summary.

sam152’s picture

So users probably have to manually enable AJAX now. Maybe time to revisit trying to enable it automatically.

emek’s picture

Yes, it works when I manually enable ajax on the view.

jasonlttl’s picture

Just adding that this same thing occurs in d8 as well. Also, manually enabling ajax fixed it.

beatnikdude’s picture

Yes, had to enable AJAX manually on my View after Views 3.17 update.
via: Advanced: Other: Use AJAX

sam152’s picture

Version: 7.x-2.0 » 8.x-1.x-dev
StatusFileSize
new666 bytes

Will backport to D7 once this is into D8. A new release will have to be created with instructions to manually enable AJAX on the affected views.

I think an update hook to do this automatically is a bad idea, people will be given the option to enable it, given the security implications of ajax enabled == another endpoint to access the view.

sam152’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: 2902796-no-automatic-ajax-6.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

sam152’s picture

Status: Needs work » Needs review
StatusFileSize
new1.76 KB

Fixing tests.

sam152’s picture

StatusFileSize
new999 bytes

D7 version.

Status: Needs review » Needs work

The last submitted patch, 10: 2902796-no-automatic-ajax-10.patch, failed testing. View results

  • Sam152 committed e1dd539 on 8.x-1.x
    Issue #2902796 by Sam152: Stopped working with Views 3.17
    
sam152’s picture

Version: 8.x-1.x-dev » 7.x-2.x-dev
sam152’s picture

Status: Needs work » Needs review
StatusFileSize
new999 bytes

  • Sam152 committed 41732ac on 7.x-2.x
    Issue #2902796 by Sam152: Stopped working with Views 3.17
    
sam152’s picture

Status: Needs review » Fixed

Updated in both releases. Will publish a new release with instructions on updating.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.