Tag condition not respecting default value
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how the collection tag applies field conditions and where blueprint defaults are made available to entries. Reproduce with an unsaved entry whose toggle defaults to true, then compare the condition result before and after saving it. Done when the tag returns entries matching the default value before they are explicitly saved.
索引モデルが issue の本文から書いたものです。
説明
Bug description
I have a bunch of entries and I added a toggle to their blueprint. The default value for the toggle is true.
I use the following code:
{{ collection:my_collection my_toggle:is="true" }}
And none of the entries show up, they have to be explicitly saved with the new blueprint.
How to reproduce
- Create entries for some collection.
- Add a toggle field to the blueprint with a default of
true(or perhaps some other field). - Fetch the entries based on the default value of the field using the
collectiontag. - See none of the entries show up.
- Save entries.
- See the entries show up.
Logs
Environment
Environment
Laravel Version: 13.39.0
PHP Version: 8.5.12
Composer Version: 2.10.3
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 7
License Key: Set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.38.0 PRO
Statamic Addons
keyagency/statamic-asset-usage: 1.7.0
rias/statamic-color-swatches: 3.1.1
statamic-rad-pack/mailchimp: 6.2.5
statamic-rad-pack/shopify: 8.0.0
studio1902/statamic-peak-commands: 11.1.1
studio1902/statamic-peak-seo: 11.9.3
studio1902/statamic-peak-tools: 9.2.3
Installation
Starter Kit using via CLI
Additional details
No response
- 主要言語
- PHP
- スター
- 4.9k
- フォーク
- 647
- 平均マージ
- 21時間 3分
- マージ済み PR(30日)
- 128
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
statamic/cms のほかの issue
-
Passing `null` to `bool_string` modifier returns nothing instead of `false`対応中かも @shadetheory が 4 日前に担当しました。 オープンmodifiers
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
statamic/cms#15748 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
antlers
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
`GlobalRuntimeState::$interpolatedVariables` is never reset, so long-running Antlers renders slow down without bound対応中かも @lazerg が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
`please` cannot run app commands from app/Console/Commands on Laravel 13.36+対応中かも @lazerg が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
statamic/cms#15808 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/blocks-engine#5003 ·
メンテナーはふだん 1 日以内に返信
-
from-cloud mythic tracked
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
MythicalLTD/FeatherPanel#459 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: PostgreSQL backend: Queue.remove() / Job.remove() never emit the QueueEvents "removed" event対応中かも @1AbdullahButt が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
taskforcesh/bullmq#5085 ·
メンテナーはふだん 1 日以内に返信
-
area:mesi area:php-extension good first issue priority:low type:chore
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
crazy-goat/go-mesi#652 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
shukiv/jabali-panel#2423 ·
メンテナーはふだん 1 日以内に返信