On a new site: after installing D9.0.3 (standard) I installed Freelinking 8.x-3.1+2-dev without any other extra modules. After going to admin/config/content/formats and clicking at "install" of my preferred format got this error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "path.alias_manager". Did you mean this: "path_alias.manager"? in Drupal\Component\DependencyInjection\Container->get() (line 151 of /xxx/core/lib/Drupal/Component/DependencyInjection/Container.php).

Core module Path was installed by the standard install.

The same problem afer deinstalling 8.x-3.1+2-dev and replacing by version 8.x-3.1.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PROMES created an issue. See original summary.

mradcliffe’s picture

Thank you for the bug report. I'm sorry I have not been able to get to resolving this.

This patch should resolve some deprecations and path_alias module breaking changes. Let's see if the tests still pass.

mradcliffe’s picture

There isn't any functional test of path alias. Manual testing revealed some other issues including something that didn't get caught by the functional tests related Render callbacks must be a closure or implement TrustedCallbackInterface or RenderElementInterface. I'm not sure why as it should have thrown an exception.

This patch should solve that as well.

  • mradcliffe committed 7e5c66c on 8.x-3.x
    Issue #3167935 by mradcliffe, PROMES: Fixes path_alias.manager and use...
mradcliffe’s picture

Status: Needs review » Fixed

Looks pretty good locally. Committed since without it things break.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

shuklasp’s picture

I am facing the same issue on drupal 9. Has this patch been committed yet? If yes, then this issue still persists.

gisle’s picture

It have been committed to the dev branch (not to the tagged release):
https://www.drupal.org/project/freelinking/releases/8.x-3.x-dev

Hva you tested the dev-branch?