next-drupal icon indicating copy to clipboard operation
next-drupal copied to clipboard

Republishing a page continues to show 404

Open MichaelCastelbuono opened this issue 2 years ago • 1 comments

I'm using ISR (with a 10 second revalidate for testing), and running on a next.js build (next build + next start). I have a test page that shows properly at first. I then unpublished it (which works and shows a 404) but publishing the page again continues to show a 404 until I restart the entire next server. Once I restart the server the page shows properly again. Any thoughts? Is this possibly something on the next.js side of things? Thanks in advance.

MichaelCastelbuono avatar Apr 25 '22 13:04 MichaelCastelbuono

Let me try to reproduce this.

  1. Publish a node. Check if live on next site.
  2. Unpublish node. Check if 404 on next site.
  3. Republish node. Check if live on next site.

shadcn avatar Apr 25 '22 14:04 shadcn