Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293396

NotFoundHttpException thrown in ParamConverterManager results in a WSOD

$
0
0

Found this thanks to #1985528: Convert filter_tips_long() to Controller, but it can occur in HEAD now.

I'll try to come up with a more tailored test, but this at least demonstrates the problem.

Steps to reproduce

  1. Install with Standard profile
  2. Login as user 1
  3. Go to admin/structure/views/view/pagenotfound

Expected result

404 Page not found

Actual result

200 WSOD

Essentially, any route with upcasting that fails will not get a 404 as expected.
This is in the dblog:
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: in Drupal\Core\ParamConverter\ParamConverterManager->enhance() (line 83 of /Users/tim/www/d8/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php).
But you don't see an error and it doesn't 404.

AttachmentSizeStatusTest resultOperations
paramconverter.patch681 bytesIdleFAILED: [[SimpleTest]]: [MySQL] 55,583 pass(es), 2 fail(s), and 1 exception(s).View details | Re-test

Viewing all articles
Browse latest Browse all 293396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>