Parallel Intercepted routes not working when accessed from 404 error pages #72541
Labels
bug
Issue was opened via the bug report template.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Link to the code that reproduces this issue
https://github.com/itsjavi/nextjs-demos/tree/issue/parallel-intercepted-404
To Reproduce
@modal
slot in your layout.tsx props, and put it inside the body.Current vs. Expected behavior
Current behavior
On
next dev
When accessing Parallel Intercepted routes from a 404 page, it triggers the following client-side error:
On
next start
On
next start
, after build, navigating to the intercepted route from a 404 page works, but calling router.back() will trigger the same error again.Expected behavior
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 20.18.0 npm: 10.8.2 Yarn: 1.22.22 pnpm: 9.12.2 Relevant Packages: next: 15.0.3 // Latest available version is detected (15.0.3). eslint-config-next: N/A react: 19.0.0-rc-66855b96-20241106 react-dom: 19.0.0-rc-66855b96-20241106 typescript: 5.6.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
CC @feedthejim
Related issue: #48289
The text was updated successfully, but these errors were encountered: