Document null page titles and the 422 on route generation without a title
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- api, database, documentation
調査の方向性
リンクされたバンドルのPR components-web-app/api-components-bundle#440 から始めて動作を確認してください。確認項目は、Page と AbstractPageData で title がデフォルトで null になること、POST /_/routes/generate が返す 422、そして CwaFixtureBuilder の変更です。その後、Doctrine マイグレーションと 2 つの SQL UPDATE 文を含め、ドキュメントに記載してください。設定された table_prefix を使うよう注記も加えます。4 つのセクションがすべて書かれ、SQL がバンドルで使われているテーブル名と一致していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Bundle PR: components-web-app/api-components-bundle#440 (fixes components-web-app/api-components-bundle#439)
Please document the following.
A page's title defaults to null
A Page or page data (AbstractPageData) created without a title now stores and returns title: null. It used to be 'Unnamed Page'. Page data's title column is now nullable, as the page's already was. Front ends can tell an untitled page apart from a chosen title, so a page data with no title can fall back to its page template's title.
Route generation needs a title
POST /_/routes/generate for a page or page data with no title, or with a title that gives no slug (for example only punctuation), returns 422 with one violation on title: "A title is needed to generate a route." Nothing is created, and an existing route is not turned into a redirect. Before this change it generated /unnamed-page. Explicit route creation (POST /_/routes) is unaffected.
CwaFixtureBuilder: a page or page data with no route: and no title gets no route, top-level or nested. In an --append load, untitled page data with no route: is identified like withoutRoute() page data: it is created only with its template or parent.
Upgrade step
Generate and run a Doctrine migration. It makes _acb_abstract_page_data.title nullable. Then clear the old default:
UPDATE _acb_page SET title = NULL WHERE title = 'Unnamed Page';
UPDATE _acb_abstract_page_data SET title = NULL WHERE title = 'Unnamed Page';
Replace _acb_ with the configured table_prefix if it differs.
- 主要言語
- Vue
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
components-web-app/docs#234 ·
-
Document opening the add page data form with defaults (?parentPage, ?parentPageData, ?template)オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
components-web-app/docs#230 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
components-web-app/docs#228 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
components-web-app/docs#235 ·
-
難易度 3/5 半日 初心者へのやさしさ 55/100
components-web-app/docs#233 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
adcontextprotocol/adcp-go#567 ·
メンテナーはふだん 1 日以内に返信
-
from-review-extraction python severity:nit
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
LearningCircuit/local-deep-research#7461 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
[Cleanup] Include the public header in work_split.cpp対応中かも @blozano-tt が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tenstorrent/tt-metal#60850 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
puppe1990/amarra-cais#355 ·
メンテナーはふだん 1 日以内に返信