Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
This is some try to port the module to Drupal 8
Challenges:
- Caching ... for some reason enabling response level caching breaks stuff
- Incompatibilities with other modules like
views_ajax_history
, see #2913388: Disable URL replacement on GET requests in Drupal.Ajax.prototype.beforeSend
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#5 | edit_drupal_8_port-2913473-1.patch | 16.6 KB | Leon Kessler |
#4 | interdiff-2913473.patch | 294 bytes | Leon Kessler |
#4 | 2913473-3.patch | 16.08 KB | Leon Kessler |
#2 | 2913473-2.patch | 16.08 KB | dawehner |
Comments
Comment #2
dawehnerComment #3
dawehnerComment #4
Leon Kessler CreditAttribution: Leon Kessler commentedAh great!
Just tested out the patch, spotted one small issue with the incorrect path to the js file. Updated patch.
Also, we should update the README.txt with the new setup instructions.
Comment #5
Leon Kessler CreditAttribution: Leon Kessler commentedPatch with readme changes.
I think this is enough for now, I will push the 8.x-1.x branch and create a dev release.
Comment #6
dawehner@Leon Kessler
Thank you for your quick applying of the patch! I personally think that we need to solve the caching issues before a stable release of views ajax get. What do you think?
Comment #7
Leon Kessler CreditAttribution: Leon Kessler commentedYep I agree.
I'll setup another ticket for this, and will make a note on the module page about the issue.
Comment #8
dawehner👍
I'm glad you went with the "Let's iterate" approach instead of the "Let's make it perfect" approach.
Comment #9
Leon Kessler CreditAttribution: Leon Kessler commentedComment #10
Leon Kessler CreditAttribution: Leon Kessler commented@dawehner would you be able to put in some details about the caching issues you were experiencing on ticket https://www.drupal.org/node/2913754 (I'm having a bit of difficulty replicating it).