Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enable the Add to Bundle action in the Pages portlet row menu (hard-coded disabled since PR 34715)

オープン 初心者向け
#38,249 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
77/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
angular, java, typescript
領域
content, frontend

調査の方向性

まず dot-page-actions.service.ts とその spec である dot-page-actions.service.spec.ts を確認し、issue に記載された動作中の Site Browser アクションと行アクションを比較します。アクションが有効になっていること、およびそのコマンドでページ識別子に対応する bundle ダイアログが開くことを確認し、対象の spec と既存の Pages portlet の spec を実行します。ページを push で公開できるユーザーに対してアクションが有効になり、そのページのダイアログが開き、古いコメントが修正されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

dotCMS : Push Publishing OKR : Customer Support Team : Maintenance Type : Defect
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):

  1. 2025-12-18 — the Pages portlet migration (#34132) scaffolded the item with disabled: true and a doc comment saying the feature was "not wired up in the Pages listing yet", plus a spec asserting the item is disabled.
  2. 2025-12-22 — commit 95965b60 ("update menu handling and improve bundle dialog integration") finished the wiring: the <dot-add-to-bundle> hook went live, the command was added, and disabled: true was removed. The doc comment and the spec assertion were left as they were.
  3. 2026-02-23 — #34715 ("fix tests", "Fixing broken tests in the migration branch") made the stale spec pass by re-adding disabled: true to 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
  1. Log in to dotAdmin as a CMS Administrator.
  2. Open the Pages portlet.
  3. Open the action menu (⋮) on any page row.
  4. Observe Add to Bundle is greyed out and cannot be clicked.
  5. 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 #addToBundleAction in dot-page-actions.service.ts no longer claims the hook is commented out.
  • dot-page-actions.service.spec.ts asserts the item is enabled and that its command calls showBundleDialog with the page identifier (replacing expect(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
主要言語
Java
スター
972
フォーク
489
平均マージ
2日 15時間
マージ済み PR(30日)
199

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotCMS/core のほかの issue

dotCMS/core の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。