Missing license url in libraries info yaml

Created on 18 October 2023, about 1 year ago
Updated 11 March 2024, 10 months ago

As per https://www.drupal.org/project/drupal/issues/3359497 πŸ› Log an error message when library definitions have a license with no URL defined Needs work , when libraries have a license specified, then the url must be included.

The media_directories_ui.libraries.yml file specifies the MIT license, but does not include a URL.

This leads to an error "Undefined array key 'url' in ... JsCollectionOptimizerLazy.php", which I was seeing after upgrading a recent site to Drupal 10.1.x.

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa Gomez_in_the_South

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

Comments & Activities

Production build 0.71.5 2024