You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe I am hitting this same issue seeing as a form that previously worked on hitting "save" now says "404 Not Found" upon hitting "save" after enabling ISR in a root-level +layout.server.js that affected that route.
I mean this kind of makes sense though, and I think the ISR docs just need to specifically point out that when you enable ISR for any given route(s), those routes are going to be processed as though prerender is set to true (else ISR would not really do anything for that route). I have added a note or two along these lines in PR #12030
I am assuming my assumptions here are correct about ISR turning a route essentially into a prerendered route and thus causing server-side functions to no longer fire, although I am not 100% certain I am correct in my way of explaining it.
Describe the bug
A named form action returns a 500 Internal Error when served from Vercel with ISR.
Reproduction
Steps:
/
(root path): https://kit-demos-git-isr-actions-leftium.vercel.app/Expected:
form.success
from return value of form action.)Actual:
Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
default
action is used: https://kit-demos-git-isr-actions-leftium.vercel.app/with-isr-default-actionSo the work-arounds are to not use named form actions or not use ISR.
The text was updated successfully, but these errors were encountered: