Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2022 at 08:18 UTC
Updated:
15 Mar 2022 at 11:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottAdding this is allowed because \Drupal\Core\Template\TwigExtension::getFileUrl() has not yet been released.
Comment #3
alexpottComment #4
alexpottComment #5
berdirMakes sense to me. RTBC if tests pass.
I'm not sure about changing and enforcing a string in the future. On one side, it is generally a bug if you pass in NULL, as it will result in broken markup, but clearly a lot of people were very confused about the problem and how to find where it is. An exception or so might have more useful info than a fatal error though?
But that's a separate decision anyway.
Comment #7
alexpottRandom JS fail-itis... ran all the failed tests locally and they are passing.
Comment #9
alexpottwow - it's just not passing.
Comment #11
alexpottWell the sqlite test passed... hopefully that's good enough.
Comment #13
catchCommitted/pushed to 10.0.x, cherry-picked to 9.4.x and 9.3.x - the second test run passed.