8000
Middleware rewrites for dynamic routes not setting query/params in router #2750
Labels
Next.js e2e test failure
Errors identified through the Next.js repo e2e tests
Uh oh!
There was an error while loading. Please reload this page.
This needs further investigation to diagnose the cause of the problem, but seems like there is some weird interaction when both middleware rewrite and next.config.js rewrite are used where Next's client router is not setting
router.query
to match expected dynamic segmentsData
The following is parsed automatically by the Next.js repo e2e test report generator.
test: Middleware Rewrite should handle catch-all rewrite correctly, Middleware Rewrite should handle static rewrite from next.config.js correctly, Middleware Rewrite should opt out of prefetch caching for dynamic routes
reason: Middleware rewrites for dynamic routes not setting query/params in router
The text was updated successfully, but these errors were encountered: