Problem/Motivation
Views ajax exposed filters doesn't work any more since Drupal 10.2. Filters worked fine in Drupal 10.1.8
Steps to reproduce
Vews Configuration
Exposed form in block:Yes
Exposed form style: Better Exposed Filters
Exposed form options : Enable auto-submit
Use AJAX:Yes
Open the view with its url
Choose a filter value : the filter is working at this first case
Choose another filter value: the filter value is flashing, reurning to the first value, the operation seems to stop here
Error in the console : An error occurred during the execution of the Ajax response: LoadJS
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | jsErrorWithoutJSaggergation.PNG | 41.11 KB | juulia |
| #5 | jsErrorWithoutJSaggergation.PNG | 6.73 KB | juulia |
| #3 | jsError.PNG | 59.42 KB | juulia |
Issue fork drupal-3440444
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
cilefen commentedIs that the entire error message?
Are you testing on the latest version of 10.2?
Comment #3
juulia commentedI'm testing in Drupal 10.2.5

entire error message is
Comment #4
cilefen commentedThat is good except for one thing.
Please disable JavaScript aggregation on the performance page, clear caches, and get that error trace again so we can see full details.
Comment #5
juulia commentedafter disabling JS aggregation I've got this error message
Comment #6
cilefen commentedThere is no stack trace? That is what I really need to see.
Comment #7
juulia commentedHere is stack trace

Comment #8
cilefen commentedThe identical mysterious error message was reported in #3439303: An error occurred during the execution of the Ajax response: LoadJS but I doubt that is directly related.
Is this reproducible on a new install of Drupal? Use https://simplytest.me to test if setting that up on your platform is not possible. Is better exposed filters module required to trigger the bug?
Comment #10
cilefen commentedComment #11
shivam_tiwari commentedI checked issue after installing the repo on my local but I am not getting any ajax error. Views Ajax working fine for me so leaving this issue for now.
Currently issue is on Postponed (maintainer needs more info) state. So not updating issue status.
Comment #12
quietone commentedChanges are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.
Comment #13
jrbI think is actually due to a bug in BigPipe and core ajax.js. I created a separate issue here:
#3463875: Ensure uniqueBundleId is unique in LoadJS
That new issue includes a patch that fixes the bug.
Comment #14
cilefen commented