[6.x]: Relation fields with "Maintain hierarchy" show selected elements as a flat list in the entry editor
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how the entry editor renders selected elements for Entries relation fields with “Maintain hierarchy” enabled, then compare that path with the Craft 5 nested display described in the issue. Reproduce with a parent and child entry in a structure section; done when the child is visibly indented beneath its parent while hierarchy behavior remains intact.
索引モデルが issue の本文から書いたものです。
説明
What happened?
Description
In Craft 5, a relation field with "Maintain hierarchy" enabled showed the selected elements nested, with indentation and branch lines. In Craft 6 the field still enforces hierarchy (it fills gaps and applies the branch limit), but the selected elements are drawn as a flat list.
Steps to reproduce
- Create a structure section with a parent entry and a child entry, for example "News" and "Club news" below it.
- Create an Entries relation field with that section as its source and "Maintain hierarchy" turned on.
- Add the field to an entry type, edit an entry, and select both the parent and the child.
- Save and look at the field in the entry editor.
Expected behavior
The child is shown nested under the parent, with indentation as in Craft 5.
Actual behavior
The parent and the child are stacked chips with identical indentation. Nothing shows the child's level, even though the database has the child at level 2 in structureelements.
Craft CMS version
6.x-dev @ 7c6ece5ff9ebcd0ff2380d545ae822c0502c715c
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
- 主要言語
- PHP
- スター
- 3.6k
- フォーク
- 710
- 平均マージ
- 11時間 26分
- マージ済み PR(30日)
- 324
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
craftcms/cms のほかの issue
-
[5.x]: Moving an asset with “Replace it” throws TypeError: volumeUid must be of type string, null given対応中かも @i-just が 2 日前に担当しました。 オープンbug repo:cms
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
craftcms/cms#20128 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[5.x]: Block added through a draft gets an empty first revision on multi-site, so reverting deletes its nested content対応中かも @i-just が 1 日前に担当しました。 オープンbug repo:cms
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
craftcms/cms#20151 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug repo:cms
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
craftcms/cms#20150 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[5.x]: Passkeys registered with webauthn-lib v4 still fail with an uncaught InvalidUserHandleException (HTTP 500) after the #19530 fix対応中かも @i-just が 9 日前に担当しました。 オープンrepo:cms
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
craftcms/cms#20052 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[6.x]: Colored chips: link blue has low contrast on tinted backgrounds対応中かも @brandonkelly が 15 日前に担当しました。 オープンbug repo:cms
craftcms/cms#19984 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
14.3.x
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android Chromeオープンneeds-triage Platform(Default)
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
GD decoder discards the finfo media type in mediaTypeByBinary() since 4.4.0対応中かも @lazerg が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
Intervention/image#1556 ·
メンテナーはふだん 1 日以内に返信
-
bug No Code Attached Yet
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
joomla/joomla-cms#48730 ·
メンテナーはふだん 1 日以内に返信