Skip to content

Exception when not page found on netgen/admin-ui-bundle": "^2.1.4 #19

@damaya

Description

@damaya

Hi there, recently we updated the error handling in our site to change redirects to an external static error site 404.mysite.com, to an internal error page (twigBundle view/exception) with response _404 which is the expected behavior.
However, we noticed an exception:
request.ERROR: Uncaught PHP Exception Netgen\Bundle\AdminUIBundle\Exception\NotFoundHttpException: "Not Found" at /home/ubuntu/mysite/vendor/netgen/admin-ui-bundle/bundle/EventListener/LegacyResponseListener.php line 62 {"exception":"[object] (Netgen\\Bundle\\AdminUIBundle\\Exception\\NotFoundHttpException(code: 0): Not Found at /home/mysite/vendor/netgen/admin-ui-bundle/bundle/EventListener/LegacyResponseListener.php:62)"} []
Could you please enlight us how to add a config or override to avoid this exception?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions