Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] ConvertTo-PnPPage copies Images into Site Assets Library with a different path to on prem #667

Open
ColonelSand3rs opened this issue Jan 4, 2024 · 0 comments

Comments

@ColonelSand3rs
Copy link

Problem Area

[ ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[x] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...

Expected or Desired Behavior

Upon completion of the PnP modernization the images would be uploaded to the Site Assets library in a folder per page.
The folders for the page images located in the Site Assets library on prem (SP2013) has spaces in the folder name whereas in SPO it uses Hyphens.
This break the image links for images that come across in tables as the path no longer is correct.
Expected the URL Rewrite rules to account for this.

Am aware that the images are loaded at the bottom of the page in web parts for images in tables. Is this a workaround for this issue?

Steps to Reproduce

Migrate a page with images in a table from SP2013 into SPO. The Page name is more than one word.
Original Images come across as broken linked images.
Changing the Site Assets folder name to remove the hyphens resolves the issue and makes the Images appear on page

Screenshot 2024-01-05 125023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant