Scheduled entries are visible on the website before their publication date
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reproducing the reported case in a fresh Statamic site: create a scheduled entry with a future publication time, then check the homepage feed and blog listing before that time. Trace how those frontend listings query entries and how scheduled status is handled. Done means the entry is absent from public listings until its scheduled publication time.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug description
Summary: Scheduled blog posts are displayed on the frontend before their scheduled publication date.
Description:
I have noticed an issue with scheduled blog posts in the Statamic Control Panel.
When I create a blog post and set it to be published at a scheduled date/time in the future, the post is correctly marked as scheduled in the administrative interface. However, on the public website, a preview/excerpt of the post is already visible before the scheduled publication time.
The scheduled post appears in:
the blog post listing/archive
the blog post preview/excerpt on the homepage
This seems incorrect, as a scheduled entry should not be visible on the public website until its scheduled publication date/time has been reached.
Expected behavior:
A scheduled blog post should remain completely hidden from the public website until the specified publication date and time. It should not appear in the homepage feed, blog listing, or any other frontend listing/query before it is published.
Actual behavior:
The scheduled post is already displayed as a preview/excerpt on the homepage and in the blog listing, even though its scheduled publication time has not yet been reached.
Could you please confirm whether this is a known issue or whether there is a configuration/query that needs to be changed to exclude scheduled entries from frontend listings?
If this is a bug, could you please advise whether it can be fixed in Statamic?
I can provide screenshots, the Statamic version, configuration details, or a URL to a test installation if needed.
Thank you.
How to reproduce
Steps to reproduce:
Create a new blog post in the Statamic Control Panel.
Set its status/publication to Scheduled.
Select a future publication date and time.
Save the entry.
Open the public website before the scheduled publication time.
The scheduled post is already visible in the homepage and blog listing.
Expected result:
The post should not be visible anywhere on the public website until its scheduled publication time.
Actual result:
The post is visible as a preview/excerpt before the scheduled publication time.
Logs
Environment
-
Installation
Fresh statamic/statamic site via CLI
Additional details
- Lingua principale
- PHP
- Stelle
- 4.9k
- Fork
- 647
- Merge medio
- 1g 20h
- PR unite (30g)
- 113
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di statamic/cms
-
preferences
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
accessibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
[7.x] Reintroduce parser error for mixed pipe/shorthand modifier syntaxForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaantlers
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
navigations
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di statamic/cms
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
matomo-org/device-detector#8405 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 4 giorni