Problem/Motivation
After I upgraded from 8.6.16 to 8.7.8, I am getting null route for the requests made by big_pipe. Weird thing is, the problem is only occurring in our automated tests written using drupal-test-traits, but not when the path is visited from browser, therefore I am not able to write the exact steps to reproduce the problem.
These are some tests which are erroring.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3089913-2.patch | 1.18 KB | subhojit777 |
Comments
Comment #2
subhojit777I debugged the problem, and executed the test in my machine, and this is the test output I got:
After making changes in
layout_buildermodule, the tests worked. I am not sure whether the problem is in thebig_pipemodule, or the test framework.Comment #5
josephdpurcell commentedAfter applying the patch from #2 I was able to see the issue went away during indexing.
Adding issues in other modules and code that cause issues due to fromRouteMatch() throwing an exception.
Comment #6
tim.plunkettThis is a duplicate of #3104980: layout_builder_system_breadcrumb_alter doesn't check for a null route object