All exceptions in Integrated are redirected to /admin/content (which is weird).

Description

Background

Exceptions are handled by the \Integrated\Bundle\ContentBundle\EventListener\ChannelExceptionSubscriber which does a redirect to /admin/content.

This is not very handy when you have an exception because the exception is not shown and the request is not visible in the profiler since the response is replaced.

Requirements

  • Do the redirect for non-existing channels for 404 exceptions only

  • Verify the redirect keeps working for the "/" URL when no channel has been defined

Technical tasks

None

Deployment actions

None

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Epic Link

Sprint

None

Fix versions

Configure