Scheduled entries are visible on the website before their publication date
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- PHP
- Estrellas
- 4.9k
- Forks
- 647
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 108
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de statamic/cms
-
preferences
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Make native filesystem directory permissions configurable to support shared POSIX ACL accessAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
accessibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
antlers
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
caching nocache
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
statamic/cms#15643 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de statamic/cms
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
TYPO3BestPractices/tea#2409 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
api-platform/core#8690 ·
Los mantenedores suelen responder en 1 día
-
No Code Attached Yet
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
joomla/joomla-cms#48626 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
DorsetDigital/silverstripe-schema-manager#26 ·
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 4 días