Problem/Motivation
The JS file uses $.isArray but similar to #3419730: [jQuery 4] TypeError: $.isArray is not a function at states.Dependent.verifyConstraints in Drupal 11 this no longer exists and should be changed to `Array.isArray`.
Probably status should be 'Critical' as it renders the module unusable (and the Views using it) but since Drupal 11 isn't for production yet, downgrading to Major
Steps to reproduce
Attempt to use the module in Drupal 11
Proposed resolution
Replace the is array call
Remaining tasks
Merge request
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | image (5).png | 158.43 KB | uttam |
| #4 | image (4).png | 169.69 KB | uttam |
Issue fork views_ajax_history-3454105
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 #3
scott_euser commentedComment #4
uttam commentedFaced this problem while using views_ajax_history in a view of D11 setup, applied the MR patch from here that resolved the problem by replacing the array call.
Moving this to RTBC.
Comment #5
uttam commentedComment #6
uttam commentedComment #7
i-trokhanenko+1 RTBC. Thanks @scott_euser
Comment #9
i-trokhanenkoCommitted, thanks!
Comment #10
scott_euser commentedGreat thank you!