Improve "The libraries to include are encoded incorrectly" check and message

Created on 3 May 2024, 8 months ago
Updated 30 May 2024, 7 months ago

Problem/Motivation

This is a follow-up on πŸ› Warning: Undefined array key 1 in Drupal\Core\Asset\LibraryDependencyResolver->doGetDependencies() after update to Drupal 10.2.2 and when views ajax is enable. Active for the following improvements:

  • Allow !== 0 /'s in the library name
  • Include information about the library that caused the BadRequestHttpException to make it easier to find the root cause as site administrator
  • Improve the exception message to be clearer about what's changed and wrong

See related issues, e.g. https://www.drupal.org/project/asset_injector/issues/3444733#comment-155... πŸ› 10.2.6 Error - CSS preprocessing / aggregation fails, resulting in broken page / style RTBC

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.2 ✨

Component
Asset libraryΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024