In CheckExceptionOnInvalidReferenceBehaviorPass.php line 119:

Created on 8 July 2024, 2 months ago

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "old_module.service" has a dependency on a non-existent service "new_module.common". in Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass@anonymous/app/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:104$37->processValue() (line 119 of /app/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php).

Not able to enable new module where wrote a service which used in old module

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Other 

Last updated about 7 hours ago

Created by

🇮🇳India arif.zisu Kolkata

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

  • Issue created by @arif.zisu
  • Status changed to Postponed: needs info 2 months ago
  • 🇺🇸United States cilefen

    Hello. For a bug report we need a "steps to reproduce" section in the issue summary that explains to contributors exactly how to see the bug.

  • 🇮🇳India arif.zisu Kolkata

    step 1: I have created a service inside new module
    Step2: New service inside new module used at old module by dependency injection
    step3: Now trying to install module using drush cim and getting above error.

  • Status changed to Needs review 2 months ago
  • Status changed to Active 2 months ago
  • 🇺🇸United States smustgrave

    Issue summary should follow the standard issue template. Don't see any MR or patch so review doesn't seem to be the right status.

Production build 0.71.5 2024