Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SecurityBundle debug.security.access.decision_manager missing in collectors.xml when kernel.debug false #19022

Copy link
Copy link
Closed
@msarris

Description

@msarris
Issue body actions

Service "debug.security.access.decision_manager" is defined in file security_debug.xml (in SecurityBundle) which is only loaded when kernel.debug is true. However, this service is also used in collectors.xml, which is always loaded.

In env=prod this will give the following error:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "profiler" has a dependency on a non-existent service "debug.security.access.decision_manager".

This issue was introduced in Symfony 3.1. I temp fixed it by overriding the service and removing the argument.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.