isArray is removed in Drupal 11, causing a fatal error in this module

Created on 12 June 2024, 6 months ago
Updated 27 June 2024, 6 months ago

Problem/Motivation

The JS file uses $.isArray but similar to πŸ“Œ [jQuery 4] TypeError: $.isArray is not a function at states.Dependent.verifyConstraints Needs review 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

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024