Document: a component cannot be placed inside its own subtree (422)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với các trang về vị trí thành phần API và nhóm thành phần trong content/4.api/, sau đó kiểm tra cách các trang này mô tả thao tác ghi và lỗi xác thực. Ghi lại các trường hợp 422 được liệt kê, bao gồm thành phần ở trạng thái nháp và đã xuất bản, việc chia sẻ được phép và các chu trình hiện có; hoàn tất khi các trang giải thích từng hành vi cùng phạm vi đã nêu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The API bundle now refuses any write that would place a component inside its own subtree (components-web-app/api-components-bundle#503, fixes components-web-app/api-components-bundle#502).
Please document under the API component positions and component groups pages (content/4.api/):
- A
ComponentPositionwhosecomponentcontains the targetcomponentGroup, at any depth, is a 422 with a violation oncomponent: "The component cannot be placed in the component group<reference>: the group is inside the component." This applies toPOST /_/component_positions, aPATCHof a position'scomponentorcomponentGroup, and positions embedded in a component write (componentPositions[i].component). - Giving a
ComponentGroupan owner (components) from inside that group's own subtree is a 422 oncomponents: "The component group<reference>cannot be owned by a component inside it." - A published component and its draft count as one component, so placing a container's draft inside the published container (or the reverse) is refused too.
- Sharing one component in several places (for example, two sibling containers) is still allowed. Only a path back to itself is refused.
- Existing positions are not re-checked when unrelated fields change, so content already holding a cycle (from fixtures or SQL) can still be read and edited. Reads (security voter, manifest) terminate on it.
The module side (disabling the option with a reason before sending) is cwa-nuxt-module#157.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 giờ 20 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của components-web-app/docs
-
Browser Tests page: the template's tests no longer use the sample content (components-web-app#177)Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
components-web-app/docs#267 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
components-web-app/docs#266 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
components-web-app/docs#265 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
components-web-app/docs#264 ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
components-web-app/docs#263 · 1 bình luận ·
Tất cả issue của components-web-app/docs
Issue tương tự
-
Sequências em espanhol: «Atualizado em», a aba «Fila» e o valor 'pause' ainda saem em portuguêsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
melgarafael/DeskcommCRM#3104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 [Bug] Mobile: on the login and registration pages the footer sits below the visible screenĐang mởbug service: webapp
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Ocelot-Social-Community/Ocelot-Social#10684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nicobailon/pi-subagents#2978 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
getsentry/sentry-conventions#732 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày