[BUG] Separate page section backgrounds reset by Add-PnPPageSection and Add-PnPPageWebPart
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
Add-PnPPageSection と Add-PnPPageWebPart のエントリポイントから始め、説明されているコマンドとページ設定を使って問題を再現します。ページの更新時にそのセクションがどのようにシリアライズされるかを追跡します。セクションまたは Web パーツを追加したときに、グラデーションや画像を含む既存の新しいセクションの背景が保持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Issue
Section backgrounds are reset when updating a page with Add-PnPPageSection or Add-PnPPageWebPart and probably other commands.
Only the new section backgrounds are affected (i.e. not emphasis 0, 1, 2, 3 but rather the additional new ones that have gradiants images etc)
Expected behavior
Expecting Add-PnPPageSection, Add-PnPPageWebPart and other similar commands to not change separate sections on the page
Actual behavior
All section backgrounds that use the new backgrounds are reset on the page.
| Before | After |
|---|---|
Steps to reproduce behavior
- Create a page on a site using the UI
- Add a couple of sections.
- Change the section backgrounds to use the new ones (gradients etc)
- Publish the page
- Run commands to update the page. For example
$site = "Your_site_url"
$pageName = "Page_name"
Connect-PnpOnline $site
$page = Get-PnPPage -Identity $pageName
Add-PnPPageSection -Page $page -Order "0" -SectionTemplate "OneColumn"
- Reload the page in the browser. Note that all the new section background are gone
Note that the issue can also be reproduced with Add-PnPPageWebPart
What is the version of the Cmdlet module you are running?
2.5.0
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
- 主要言語
- C#
- スター
- 904
- フォーク
- 407
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 10
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pnp/powershell のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pnp/powershell#5476 ·
メンテナーはふだん 1 日以内に返信
-
Set-PnPListItem with an apostrophe / single quote in the name when using the -Batch parameter failsオープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
pnp/powershell#5479 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
pnp/powershell#5477 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
pnp/powershell#5466 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
pnp/powershell#5399 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
[Simple] NavigationBar primary commands do not render AppBarButton.Content when it is a UIElementオープンcontrol/navigationbar kind/bug triage/untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
unoplatform/uno.toolkit.ui#1652 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
microsoft/copilot-camp#1053 ·
メンテナーはふだん 1 日以内に返信
-
bug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nightscout/nocturne#1861 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows area/Docs partner/agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/fluentui-blazor#5364 ·
メンテナーはふだん 1 日以内に返信