404 when viewing series that hasn't been synced in a while
JoosepAlviste opened this issue · 1 comments
JoosepAlviste commented
I'm not exactly sure how to reproduce this, it's a rather rare issue.
- Have a series
- Synced more than X days ago (probably the sync frequency)
- View the details
- Get 404
I think that this is because the SSR makes TWO requests at the same time to fetch the series details. One in onBeforeRender
in features/series/pages/@id.page.server.ts
and the second one in the component. The first request triggers re-fetching the data and the second one fails because only some data is available (I think?).
Needs some debugging and a way to reliably reproduce this error.
E: It looks like we might not be making 2 requests anymore, maybe this was fixed in the Vike upgrade?
JoosepAlviste commented
Haven't run into this in a while, so it looks like it got fixed somehow 🥳