Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[WebProfilerBundle] Unable to generate a URL for the named route "_profiler_open_file" #26754

Closed
@kunicmarko20

Description

@kunicmarko20
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 4.0.7

After updating to 4.0.7 I am getting this error:

$ bin/console cache:clear --env=test

In srcTestDebugProjectContainerUrlGenerator.php line 106:

  Unable to generate a URL for the named route "_profiler_open_file" as such route does not exist.

@javiereguiluz pointed me to #26626, so I guess it is connected to that. Didn't have time to investigate more so I just downgraded to 4.0.6 and it works as expected.

Update:
Disabled WebProfilerBundle in test env as I do not need it and 4.0.7 works.

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