- Issue created by @rcodina
- Status changed to Needs review
over 1 year ago 3:23pm 24 May 2023 - last update
over 1 year ago 93 pass - πΊπΈUnited States agentrickard Georgia (US)
I presume you are deleting nodes from `/admin/content/` and not node/X/delete?
- Status changed to Needs work
over 1 year ago 2:41pm 29 May 2023 - πΊπΈUnited States agentrickard Georgia (US)
I cannot replicate this on Drupal 10.
We should have a test for this behavior.
- Status changed to Needs review
over 1 year ago 3:33pm 29 May 2023 - last update
over 1 year ago 94 pass - πΊπΈUnited States agentrickard Georgia (US)
Here's a test.
I would like to understand what (if anything) is throwing this error before adding to the code.
- πΊπΈUnited States drpldrp San Francisco, CA
$url = Url::fromUri('internal:' . $path); $internal_path = '/' . $url->getInternalPath();
I think the issue is getInternalPath() throws an error when it checks for $this->unrouted.
$url is not created with any route values or options.Maybe it should just be:
$internal_path = $url->toString();
- π©πͺGermany lissy
I have the same error with a Drupal 10.2.4 installation.