Enable the Add to Bundle action in the Pages portlet row menu (hard-coded disabled since PR 34715)
Maintainer thường phản hồi trong vòng 2 ngày
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
- 77/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- angular, java, typescript
Hướng nghiên cứu
Bắt đầu với dot-page-actions.service.ts và spec dot-page-actions.service.spec.ts của nó; so sánh thao tác trên hàng với thao tác Site Browser đang hoạt động được mô tả trong issue. Kiểm tra thao tác đã được bật và lệnh của nó mở hộp thoại bundle cho mã định danh trang, sau đó chạy spec tập trung và các spec Pages portlet hiện có. Hoàn thành khi thao tác được bật cho người dùng có thể push để xuất bản trang, hộp thoại mở cho trang đó và nhận xét cũ được sửa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Statement
In the Pages portlet (/dotAdmin/#/pages), the Add to Bundle item in each page row's action menu is permanently greyed out. It cannot be clicked by any user, including CMS Administrators, so pages cannot be added to a push-publishing bundle from the Pages listing. The same action still works from the Site Browser context menu, so the gap is specific to the Pages listing.
This is a regression from the Angular 21 / PrimeNG 21 migration (#33882). The menu item is hard-coded disabled: true in dot-page-actions.service.ts even though the action is fully wired: the command opens the bundle dialog through the store (showBundleDialog(item.identifier)), and dot-pages.component.html renders <dot-add-to-bundle> when $showBundleDialog() is set. Nothing is missing except the flag.
How the flag got there (all on the issue-33882-primeng-update branch, squashed into main as #34531 on 2026-02-27):
- 2025-12-18 — the Pages portlet migration (#34132) scaffolded the item with
disabled: trueand a doc comment saying the feature was "not wired up in the Pages listing yet", plus a spec asserting the item is disabled. - 2025-12-22 — commit 95965b60 ("update menu handling and improve bundle dialog integration") finished the wiring: the
<dot-add-to-bundle>hook went live, thecommandwas added, anddisabled: truewas removed. The doc comment and the spec assertion were left as they were. - 2026-02-23 — #34715 ("fix tests", "Fixing broken tests in the migration branch") made the stale spec pass by re-adding
disabled: trueto the service instead of updating the assertion. No review or PR comment discusses it.
The doc comment above the method still says the UI hook "is currently commented out", which is no longer true.
Browser: any. OS: any.
Steps to Reproduce
- Log in to dotAdmin as a CMS Administrator.
- Open the Pages portlet.
- Open the action menu (⋮) on any page row.
- Observe Add to Bundle is greyed out and cannot be clicked.
- For comparison: open Site Browser, right-click the same page, choose Add to Bundle. The bundle dialog opens normally.
Acceptance Criteria
- Add to Bundle in the Pages portlet row menu is enabled for users who can push publish the page, and clicking it opens the Add to Bundle dialog with that page's identifier.
- The doc comment on
#addToBundleActionindot-page-actions.service.tsno longer claims the hook is commented out. -
dot-page-actions.service.spec.tsasserts the item is enabled and that itscommandcallsshowBundleDialogwith the page identifier (replacingexpect(bundleAction?.disabled).toBe(true)). - Existing Pages portlet specs still pass.
dotCMS Version
26.10.12-01 (also present on main as of 2026-10-26).
Severity
Medium - Some functionality impacted
Links
- Freshdesk ticket #40677
- Introducing change: https://github.com/dotCMS/core/pull/34715 (re-added the flag); intended behaviour: commit 95965b60 in https://github.com/dotCMS/core/pull/34132
- Migration epic: https://github.com/dotCMS/core/issues/33882
- Ngôn ngữ chính
- Java
- Star
- 972
- Fork
- 489
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 199
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 dotCMS/core
-
Escape the Binary field hint in the legacy content editor so an apostrophe doesn't break the fieldĐang mởOKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 2 ngày
-
dotCMS : Permissions OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 2 ngày
-
dotCMS : UVE OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dotCMS/core#38260 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[TASK] Postman and Karate test stacks sleep 3 s after every writeCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởTeam : Platform Type : Test Automation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
dotCMS/core#38225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Issue tương tự
-
bug/错误
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
FCL-Team/FoldCraftLauncher#1982 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] micronaut-serde-oracle-jdbc-json brings a second OJDBC driver onto the runtime classpathCó thể đã có người làm @ZARAYACH đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
micronaut-projects/micronaut-serialization#1494 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
vitruv-tools/Vitruv-Change#600 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
code-health feature/sync OS/Android QA/Test-Plan-Specified QA/Yes
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
brave/brave-browser#60327 ·
Maintainer thường phản hồi trong vòng 1 ngày