Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The for..in loop used to loop over the array in Drupal.behaviors.facetapi.attach() fails if Drupal.settings.facetapi.facets has an enumerable property that does not represent a facet.
In our case, some component extends the Array.prototype with an enumerable property toJSON, making the loop fail. The looping construct used here must be better suited to array looping.
We will submit a patch very soon.
Comment | File | Size | Author |
---|---|---|---|
#2 | facetapi-fix_javascript_type_error-2699691-1.patch | 2.75 KB | cussack |
|
Comments
Comment #2
cussack CreditAttribution: cussack commentedComment #3
cussack CreditAttribution: cussack commentedComment #4
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedMhh, it sounds like your special case. How does it happen?