500 error with 'NotFoundHttpException' (for node/term/user pages where IDs are not numeric)

Created on 27 September 2018, about 6 years ago
Updated 11 August 2024, 3 months ago

Hi,

I found a bug.
How to reproduce.
1. Enable page variant 'node_view', create a new variant inside for node/id where {node} is 'content' (param).
2. Try to open link as 'node/xxx' where xxx is not numeric, but string.

Actual result (fatal error):
Veuillez essayer de nouveau plus tard.Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /node/xxx" in Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()

Expected result:
404 page (it's normal behaviour for wrong link).

The same for taxonomy/term/xxx links (if you will enable taxonomy_term_view).
The same on all my sites where we use page manager.
Thanks.

πŸ› Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine t1mm1 Kiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024