Posts saved before v0.10.0 can lose or misread saved remote data
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
Read issue #867 for background, then trace how saved remote data is read in the editor and in PHP. Compare the old and current formats, including custom query output and the loading case described here. Done means both sides detect old data consistently, all listed cases work, and current saved data remains unchanged.
索引モデルが issue の本文から書いたものです。
説明
Description
Posts saved before v0.10.0 store remote data in an older format. If such a post hasn't been saved since:
- In the editor, saved values can show as empty until fresh data loads.
- A text field named
resultis split into characters in the editor. - A row with fields named both
resultanduuidisn't converted in the editor. - With an object or array field named
result, visitors see the saved content instead of live data. - Changing focus away from a query input and saving while data is still loading leaves visitors on saved content and empties the saved row values.
Impact
Narrow, and limited to these old posts. We haven't had a report of it. These were checked with hand-built data, not posts from an old install.
Notes for a fix
- Current saved data, including output from custom queries, should keep working unchanged.
- The editor and PHP should detect the old format the same way.
- Keeping old values in the editor with
result.result ?? resultmade one case worse: saving during loading lost the label and formatting on the front end.
More background is in #867.
- 主要言語
- PHP
- スター
- 86
- フォーク
- 14
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Automattic/remote-data-blocks のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Automattic/remote-data-blocks#883 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
Automattic/remote-data-blocks#878 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Automattic/remote-data-blocks#821 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Automattic/remote-data-blocks#640 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
Automattic/remote-data-blocks#312 ·
メンテナーはふだん 1 日以内に返信
Automattic/remote-data-blocks の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
Automattic/static-site-importer#3462 ·
メンテナーはふだん 1 日以内に返信
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpオープンenhancement feature: settings good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nextcloud/integration_openai#480 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
omeka/plugin-Contribution#84 ·