Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2020 at 18:45 UTC
Updated:
15 Oct 2020 at 12:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catchThere may be more, but here's a start.
Comment #3
catchPatch was stacked on the parent issue, this should be standalone.
Comment #4
catchNot sure whether this will work, but trying to add the return type hint to the current version of the class, to see whether we can flush more out. If not, we should be able to do it via the Symfony 5 update in the parent issue.
Comment #7
catchOK didn't find any other instances, but did find a missing use statement in the actual patch.
Comment #8
hardik_patel_12 commentedChanges needs to be done also in,
Comment #9
longwaveThe event dispatcher isn't actually called in LayoutBuilderElementTest, it is only mocked to satisfy the constructor, so I am not sure #8 is required.
Comment #10
catchhmm there's a test failure in SectionComponentTest (which I think we should update for here), but not LayoutBuilderElementTest.
https://dispatcher.drupalci.org/job/drupal_patches/55318/testReport/Layo...
Comment #11
catchRe-uploading #7.
Comment #12
mikelutzWe do need to update sectioncomponenttest here.
Comment #13
mikelutzComment #14
longwaveLooks OK to me, this fixes the fails uncovered in #4.
Comment #15
alexpottCommitted 75acede and pushed to 9.1.x. Thanks!