Enable the Add to Bundle action in the Pages portlet row menu (hard-coded disabled since PR 34715)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- angular, java, typescript
調査の方向性
まず dot-page-actions.service.ts とその spec である dot-page-actions.service.spec.ts を確認し、issue に記載された動作中の Site Browser アクションと行アクションを比較します。アクションが有効になっていること、およびそのコマンドでページ識別子に対応する bundle ダイアログが開くことを確認し、対象の spec と既存の Pages portlet の spec を実行します。ページを push で公開できるユーザーに対してアクションが有効になり、そのページのダイアログが開き、古いコメントが修正されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Java
- スター
- 972
- フォーク
- 489
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 199
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotCMS/core のほかの issue
-
Escape the Binary field hint in the legacy content editor so an apostrophe doesn't break the fieldオープンOKR : Customer Support Team : Maintenance Type : Defect
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 2 日以内に返信
-
dotCMS : Permissions OKR : Customer Support Team : Maintenance Type : Defect
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
OKR : Customer Support Team : Maintenance Type : Defect
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信
-
dotCMS : UVE OKR : Customer Support Team : Maintenance Type : Defect
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
dotCMS/core#38260 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[TASK] Postman and Karate test stacks sleep 3 s after every write対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンTeam : Platform Type : Test Automation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dotCMS/core#38225 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
[BUG] micronaut-serde-oracle-jdbc-json brings a second OJDBC driver onto the runtime classpath対応中かも @ZARAYACH が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
micronaut-projects/micronaut-serialization#1494 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 2 日以内に返信
-
code-health feature/sync OS/Android QA/Test-Plan-Specified QA/Yes
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
brave/brave-browser#60327 ·
メンテナーはふだん 1 日以内に返信
-
Type: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
it-at-m/raumreservierung#383 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws/context-ontology-accelerator#325 ·
メンテナーはふだん 1 日以内に返信