Problem/Motivation
Found when working on #2335523: Remove node.module.css from node/drupal.node library and deprecate node/form library and getting confused by the test failure output:
Theme "node" is overriding a deprecated library. The "node/form" asset library is deprecated in drupal:11.4.0 and is removed from drupal:12.0.0.
https://git.drupalcode.org/issue/drupal-2335523/-/jobs/7912016
In this example, Node is the extension that defines the original library, not the one that is overriding it.
This also applies to the libraries-extend deprecation message.
Steps to reproduce
See #2335523: Remove node.module.css from node/drupal.node library and deprecate node/form library
Proposed resolution
Fix the message to report the theme that is overriding the library
Remaining tasks
Do it
User interface changes
None
Introduced terminology
None
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A
Issue fork drupal-3566514
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3566514-theme-override-deprecation
changes, plain diff MR !14266
Comments
Comment #2
acbramley commentedComment #4
acbramley commentedComment #5
acbramley commentedComment #8
smustgrave commentedI've had this issue open for like a week and keep getting distracted.
I ran the test-only run https://git.drupalcode.org/issue/drupal-3566514/-/jobs/8573855 which shows coverage for the change. And change itself seems minimal.
LGTM
Comment #12
godotislateCommitted e0fa1b6 and pushed to main and committed c9aa1d2 and pushed to 11.x. Thanks!
This didn't apply clean to 11.3.x, so did not backport there.