Closed (fixed)
Project:
Drupal core
Version:
10.2.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 May 2023 at 22:18 UTC
Updated:
11 Nov 2023 at 09:24 UTC
Jump to comment: Most recent
Comments
Comment #4
vbouchetSimilar to https://www.drupal.org/project/drupal/issues/3363420#comment-15122058
Comment #5
kim.pepperFix service args
Comment #6
smustgrave commentedBelieve this will need it's own change record. The one being referenced is referring to a different class.
Comment #7
vbouchetThanks for pointing @smustgrave. I created the following change record (https://www.drupal.org/node/3395294) and updated the deprecation message in the code. I assume that now the deprecation is added in 11.0.0, it will be removed in 11.1.0.
Comment #8
vbouchetComment #9
smustgrave commentedIt will be added in 10.2.0 and removed in 11.0.0
The 11.x branch is just the development branch until "main" can be used
Comment #10
vbouchetThanks @smustgrave. I updated the message to
'Calling ' . __METHOD__ . '() with an argument of ControllerResolverInterface is deprecated in drupal:10.2.0 and is removed in drupal:11.0.0. Use \Drupal\Core\Utility\CallableResolver instead. See https://www.drupal.org/node/3395294'Comment #11
smustgrave commentedThanks! Pipeline is green so don't see a new to wait for drupalci
Comment #12
smustgrave commentedAnd just to provide more context in #9. 11.x is the current "development" or "main" branch, currently can't use named branches. But all D10 releases will be tagged off 11.x, for example when 10.2 releases soon it will be made off 11.x. This helps so that issues don't continuously have to be moved between branches like 10.0, 10.1.x, 10.2.x, etc.
Comment #13
longwaveCommitted and pushed 0beb71bd73 to 11.x and 0b51914925 to 10.2.x. Thanks!
Also published the change record.
Comment #18
quietone commentedI accidentally reverted this issue. I meant to revert #3363420: Use CallableResolver for \Drupal\Core\Render\Renderer::doCallback()
Sorry for the noise.