Skip to content

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

@ColonelSand3rs

Description

@ColonelSand3rs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions