ReferenceError: Drupal is not defined

Created on 24 April 2023, over 1 year ago
Updated 25 April 2023, over 1 year ago

Problem/Motivation

When a page is loaded that does not have a dependency on `core/drupal` library, the following error is logged `ReferenceError: Drupal is not defined`

Steps to reproduce

For us this occurs mostly on our login page, but have found this to occur on other pages presumably when root libraries are loaded before `core/drupal`

Proposed resolution

Make `core/drupal` a dependency of `root/global-styling` library.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa janehollander

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

Comments & Activities

Production build 0.71.5 2024