When I install Drupal 8 in s subdirectory and use the URLgenerator to create a path with the subdir name repeated 2x:
like: http://127.0.0.1:8082/subdir-d8/subdir-d8/admin/structure/views/add
The generator is being called like on a route name (string):
$this->generator->generate($this->getRouteName());the generator was pulled from the DIC container in a plugin create() method:
$container->get('url_generator')This is causing test fails in #1981644: Figure out how to deal with 'title/title callback' and blocking progress on other issues. That patch can be used to reproduce the issue.