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.

CommentFileSizeAuthor
#2 features_javascript_error-2700635-2.patch798 bytesmpotter

Comments

mpotter created an issue. See original summary.

mpotter’s picture

Status: Active » Needs review
StatusFileSize
new798 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.