Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: investigation landing page errors if not available in specific locale #272

Open
alexgoff opened this issue Sep 16, 2024 · 0 comments
Open

Comments

@alexgoff
Copy link
Contributor

Describe the bug
When visiting an investigation landing page, that is not enabled for the current locale, the page throws an application error

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://investigations.rubinobs.org/fr/exploding-stars
  2. See application error

Expected behavior
Should either redirect back to available locale, or show a message that the investigation is not available in this language and have links to other languages.

webpack-d0d07527d699c61e.js:1 
        
        
       GET https://investigations.rubinobs.org/_next/static/chunks/app/%5Blocale%5D/not-found-2e57f6927b30580e.js net::ERR_ABORTED 403 (Forbidden)
l.l @ webpack-d0d07527d699c61e.js:1
l.f.j @ webpack-d0d07527d699c61e.js:1
(anonymous) @ webpack-d0d07527d699c61e.js:1
l.e @ webpack-d0d07527d699c61e.js:1
(anonymous) @ 7023-26fce0a4ceccb1d4.js:2
(anonymous) @ 7023-26fce0a4ceccb1d4.js:2
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
t @ 7023-26fce0a4ceccb1d4.js:2
Promise.then
N @ 7023-26fce0a4ceccb1d4.js:2
t.createFromReadableStream @ 7023-26fce0a4ceccb1d4.js:2
10353 @ 7023-26fce0a4ceccb1d4.js:1
l @ webpack-d0d07527d699c61e.js:1
(anonymous) @ 7023-26fce0a4ceccb1d4.js:1
n @ 7023-26fce0a4ceccb1d4.js:1
n @ 7023-26fce0a4ceccb1d4.js:1
11028 @ 7023-26fce0a4ceccb1d4.js:1
l @ webpack-d0d07527d699c61e.js:1
n @ main-app-55bbd77d79f9187f.js:1
(anonymous) @ main-app-55bbd77d79f9187f.js:1
l.O @ webpack-d0d07527d699c61e.js:1
c @ webpack-d0d07527d699c61e.js:1
(anonymous) @ fd9d1056-30f126668f3c2622.js:1Understand this error
7023-26fce0a4ceccb1d4.js:1 ChunkLoadError: Loading chunk 6082 failed.
(error: https://investigations.rubinobs.org/_next/static/chunks/app/%5Blocale%5D/not-found-2e57f6927b30580e.js)
    at l.f.j (webpack-d0d07527d699c61e.js:1:3501)
    at webpack-d0d07527d699c61e.js:1:1427
    at Array.reduce (<anonymous>)
    at l.e (webpack-d0d07527d699c61e.js:1:1393)
    at 7023-26fce0a4ceccb1d4.js:2:18878
    at 7023-26fce0a4ceccb1d4.js:2:19080
    at t (7023-26fce0a4ceccb1d4.js:2:19283)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant