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

Skip to content

Browser crashes when loading annotated routes and annotations are disabled #23566

Closed
@javiereguiluz

Description

@javiereguiluz
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3

When using Symfony 3.3 and Flex, annotations support is not enabled by default. If you uncomment this config of config/routing.yaml file:

controllers:
    resource: ../src/Controller/
    type: annotation

The browser displays a "Make sure annotations are enabled" message, but the application continues working, eats all CPU and finally crashes the browser:

annotations-crash

I expected the application to finish once the error message is displayed.

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