Not sure why I never got this error before today because looking at the js code it's just wrong. It's missing a "typeof" in the undefined check. So this should have been causing problems all along on any page that doesn't have drupalsettings.features defined. Which should be every page except the Edit form.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mpotter created an issue. See original summary.

mpotter’s picture

Status: Active » Needs review
FileSize
798 bytes

Here is patch

  • mpotter committed 1001a61 on 8.x-3.x
    Issue #2700635 by mpotter: Javascript error "Cannot read property '...
mpotter’s picture

Status: Needs review » Fixed

Committed to 1001a61.

Status: Fixed » Closed (fixed)

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