[BUG] Separate page section backgrounds reset by Add-PnPPageSection and Add-PnPPageWebPart
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Comienza con los puntos de entrada Add-PnPPageSection y Add-PnPPageWebPart y reproduce el problema utilizando los comandos y la configuración de página descritos. Rastrea cómo se serializan las secciones al actualizar una página; el trabajo estará terminado cuando añadir una sección o un elemento web conserve los fondos existentes de las secciones nuevas, incluidos los degradados y las imágenes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C#
- Estrellas
- 904
- Forks
- 407
- Merge medio
- 2 d 11 h
- PR fusionados (30 d)
- 9
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pnp/powershell
-
[FEATURE] Get-PnPUser -CurrentAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
pnp/powershell#5476 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
pnp/powershell#5477 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
pnp/powershell#5466 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
pnp/powershell#5399 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
pnp/powershell#5396 ·
Los mantenedores suelen responder en 1 día
Todos los issues de pnp/powershell
Issues similares
-
0 - Backlog Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
BrighterCommand/Brighter#4444 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
area:frontend bug FE P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
klasolsson81/jobbliggaren#1915 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
microsoft/vscode-copilotstudio#431 ·
Los mantenedores suelen responder en 2 días