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

CommentFileSizeAuthor
#4 image (5).png158.43 KButtam
#4 image (4).png169.69 KButtam
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

scott_euser created an issue. See original summary.

scott_euser’s picture

Assigned: scott_euser » Unassigned
Status: Active » Needs review
uttam’s picture

StatusFileSize
new169.69 KB
new158.43 KB

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

uttam’s picture

Status: Needs review » Reviewed & tested by the community
uttam’s picture

i-trokhanenko’s picture

Status: Reviewed & tested by the community » Patch (to be ported)

+1 RTBC. Thanks @scott_euser

i-trokhanenko’s picture

Status: Patch (to be ported) » Fixed

Committed, thanks!

scott_euser’s picture

Great thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.