Needs work
Project:
Drupal core
Version:
main
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jul 2017 at 11:15 UTC
Updated:
17 Jul 2026 at 13:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
a.milkovskyFYI I have tried the patches in https://www.drupal.org/node/2849674, but it did not help.
Comment #3
a.milkovskyThis is what I have came up with.
P.S. To reproduce the bug: I know that it is not easy to create a cacheable ajax responce in Drupal, as they are all POST requests in the core. But there will be a new initiative soon at https://www.drupal.org/project/ajax_assets_plus.
Comment #5
andreymaximov commentedThanks, Alex.
The patch works really well for us.
Comment #6
a.milkovskyThanks for the feedback, @AndreyMaximov. Do you think we can make it RSVP? We are using this patch already in production.
Comment #7
dawehnerI'm wondering whether we could add a test for this case ... It seems to be that you've been able to provide some good reproducable steps, so we could leverage that to write a test. Thank you for the existing fix already.
Comment #8
weseze commentedI'm experiencing the exact same issue, but without the ajax...
I basically have a view rendering teasers of a node type "download".
Those download nodes have a custom field (ds field) that generates a form.
First request that shows my page works fine, second request (from cache) gives a fatal error all because the request is empty.
The above patch fixed it for me. I had to manually apply it because it doesn't work against 8.4.3. Attached is a patch that does work against 8.4.3.
Comment #10
a.milkovskyThanks @weseze, the patch #8 works for me against Drupal 8.4.7.
Comment #17
alexj12 commentedWhile I won't have a chance to create a test at this time, I would like to confirm this is still an issue in 9.3 and the patch resolves the issue.
Comment #21
adinancenci commentedRe-roll for 10.6.13