Scheduled entries are visible on the website before their publication date
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- PHP
- スター
- 4.9k
- フォーク
- 647
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 103
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
statamic/cms のほかの issue
-
preferences
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
There's a default crop when cropping images対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンassets
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
statamic/cms#15567 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
antlers
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
glpi-project/glpi#25922 ·
メンテナーはふだん 1 日以内に返信
-
Translation TwigBridge
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
symfony/symfony-docs#23308 ·
メンテナーはふだん 3 日以内に返信
-
sync-en
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 4 日以内に返信
-
Перевод устарел
難易度 1/5 1時間未満 初心者へのやさしさ 88/100