Missing dependency path_alias

Created on 21 April 2025, 3 months ago

Problem

When trying to use the module with the specified dependencies, this errors occurs:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException : The service "lupus_decoupled_ce_api.frontend_path_processor" has a dependency on a non-existent service "path_alias.manager".

We either need to make the path_alias manager optional or declare path_alias as dependency.

🐛 Bug report
Status

Active

Version

2.3

Component

Code

Created by

🇦🇹Austria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @fago
  • 🇦🇹Austria fago Vienna

    lupus_decoupled_ce_api --> This is lupus_decoupled, not lupus_ce_renderer!

  • Status changed to Closed: works as designed 2 days ago
  • 🇦🇹Austria fago Vienna

    this seems to be fine. here an analysis by claude, which I agree with:

    The dependency structure is correct:

    - lupus_decoupled_ce_api.info.yml already declares drupal:path_alias as a dependency
    - The service lupus_decoupled_ce_api.frontend_path_processor correctly depends on @path_alias.manager
    - Transitive dependencies through the module system should make this work

    The error might be occurring in specific edge cases or test scenarios where modules aren't being loaded in the correct order. The current dependency declaration
    should be sufficient for normal operation

Production build 0.71.5 2024