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

Issue fork drupal-3440444

Command icon 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

Juulia created an issue. See original summary.

cilefen’s picture

Is that the entire error message?

Are you testing on the latest version of 10.2?

juulia’s picture

StatusFileSize
new59.42 KB

I'm testing in Drupal 10.2.5
entire error message is
error

cilefen’s picture

That 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.

juulia’s picture

StatusFileSize
new6.73 KB

after disabling JS aggregation I've got this error message js error

cilefen’s picture

There is no stack trace? That is what I really need to see.

juulia’s picture

StatusFileSize
new41.11 KB

Here is stack trace
error

cilefen’s picture

Issue tags: +JavaScript

The 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?

shivam_tiwari made their first commit to this issue’s fork.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: -JavaScript +JavaScript
shivam_tiwari’s picture

I 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.

quietone’s picture

Version: 10.2.x-dev » 11.x-dev

Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.

jrb’s picture

I 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.

cilefen’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)