- Issue created by @longwave
- Status changed to Active
about 1 year ago 10:10pm 30 October 2023 - ๐ฆ๐บAustralia mstrelan
๐ Allow controller service wiring via constructor parameter attributes Fixed is in so setting to active
- @longwave opened merge request.
- Status changed to Needs review
about 1 year ago 11:28pm 1 November 2023 - Status changed to Needs work
about 1 year ago 3:21pm 2 November 2023 - ๐ฎ๐ณIndia Nitin shrivastava
Nitin shrivastava โ made their first commit to this issueโs fork.
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 2:51pm 6 November 2023 - Status changed to RTBC
about 1 year ago 2:59pm 6 November 2023 - ๐บ๐ธUnited States smustgrave
Very neat.
Ran the test-only feature
There was 1 failure: 1) Drupal\KernelTests\Core\DependencyInjection\AutowireTest::testCoreControllerAutowiring The following core controllers can be autowired. Remove the create() method: \Drupal\views_ui\Controller\ViewsUIController \Drupal\update\Controller\UpdateController \Drupal\tracker\Controller\TrackerController \Drupal\system\CronController \Drupal\system\Controller\ThemeController \Drupal\system\FileDownloadController \Drupal\shortcut\Controller\ShortcutSetController \Drupal\search\Controller\SearchController \Drupal\menu_ui\Controller\MenuController \Drupal\help\Controller\HelpTopicPluginController \Drupal\dblog\Controller\DbLogController \Drupal\contact\Controller\ContactController \Drupal\config_translation\Controller\ConfigTranslationListController \Drupal\comment\Controller\CommentController \Drupal\ckeditor5\Controller\CKEditor5MediaController \Drupal\book\Controller\BookController \Drupal\block\Controller\BlockController \Drupal\block\Controller\BlockListController \Drupal\announcements_feed\Controller\AnnounceController Failed asserting that an array is empty.
So check seems good. And deletions didn't break anything. Think we can rely on the tests on this one. Controllers pretty important in the existing tests :)
-
larowlan โ
committed 83752e6b on 11.x
Issue #3396310 by longwave, Spokje, smustgrave: Use autowiring for core...
-
larowlan โ
committed 83752e6b on 11.x
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Committed to 11.x
Waiting on second opinion about whether this still qualifies for 10.2.x
- ๐ฌ๐งUnited Kingdom longwave UK
Too late for 10.2.x now, marking as fixed in 11.x.
- Status changed to Fixed
12 months ago 6:37pm 5 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.