Form Logic (Errors / Success) doesn't work within nocache tags
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing the reported behavior in the linked fresh Statamic installation: submit a form wrapped in nocache with STATAMIC_STATIC_CACHING_STRATEGY=none, then with full. Read the form template copied from the docs and investigate how nocache interacts with full static caching; done means the success message appears after submission with full caching enabled.
索引モデルが issue の本文から書いたものです。
説明
Bug description
Hi,
I am having issues getting forms to work, when using STATAMIC_STATIC_CACHING_STRATEGY=full
Here is a repo showing the issue in a fresh statamic installation: https://github.com/lauritsen/statamic-forms-test
Not sure if I am missing something.
Copied the form template from the docs and wrapped it with nocache.
Seems similar #7628
How to reproduce
- Create new statamic application
- Create a form in the control panel
- Add the form to a page and wrap it with
nocache - Test the form with
STATAMIC_STATIC_CACHING_STRATEGY=none- It shows the success message
- Test the form with with
STATAMIC_STATIC_CACHING_STRATEGY=full- It doesn't show the success message
Logs
Environment
Environment
Application Name: Statamic
Laravel Version: 12.25.0
PHP Version: 8.4.11
Composer Version: 2.8.10
Environment: local
Debug Mode: ENABLED
URL: statamic-forms-test.test
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: log
Queue: sync
Session: file
Storage
C:\Users\hela\repos\statamic-forms-test\public\storage: NOT LINKED
Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: full
Version: 5.63.0 Solo
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
- 主要言語
- PHP
- スター
- 4.9k
- フォーク
- 647
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 122
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
statamic/cms のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
[7.x] Reintroduce parser error for mixed pipe/shorthand modifier syntax対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンantlers
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
caching nocache
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
statamic/cms#15643 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
navigations
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
PHP workflow streaming requests buffer the full SSE response対応中かも @Winoren が今日担当しました。 オープンreview: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
langgenius/dify#44270 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug customer-reported
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
MagnaCapax/PMSS#1085 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
nunomaduro/collision#375 ·
-
enhancement good first issue hacktoberfest help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
thetheago/laravel-seeder-versioning#19 ·
メンテナーはふだん 1 日以内に返信