We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assume a page with the following file name: Test-NewForm.aspx---Some-information.aspx
This page cannot be retrieved properly. I encountered this when trying to provision such a page which threw at a strange location.
The root cause lies here:
pnpcore/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs
Lines 279 to 282 in fcb531b
This code removes every occurrence of ".aspx" in the file name while it should only remove the last ".aspx".
So the current behavior is:
While it should be:
Web.GetPagesAsync("Test-NewForm.aspx---Some-information.aspx")
It fails to get the page, although it is there.
It should detect pages with ".aspx" as part of the file name.
CURRENT :)
The text was updated successfully, but these errors were encountered:
Thanks for reporting this one @heinrich-ulbricht , clearly a bug. I'll work on a fix.
Sorry, something went wrong.
Getting pages with ".aspx" in file name fails #974
698682a
@heinrich-ulbricht : fixed, use the next nightly of PnP Core and PnP Framework to test.
fixing pnp#974
cb8531f
jansenbe
No branches or pull requests
Category
Describe the bug
Assume a page with the following file name: Test-NewForm.aspx---Some-information.aspx
This page cannot be retrieved properly. I encountered this when trying to provision such a page which threw at a strange location.
The root cause lies here:
pnpcore/src/sdk/PnP.Core/Model/SharePoint/Pages/Internal/Page.cs
Lines 279 to 282 in fcb531b
This code removes every occurrence of ".aspx" in the file name while it should only remove the last ".aspx".
So the current behavior is:
While it should be:
Steps to reproduce
Web.GetPagesAsync("Test-NewForm.aspx---Some-information.aspx")
It fails to get the page, although it is there.
Expected behavior
It should detect pages with ".aspx" as part of the file name.
Environment details (development & target environment)
CURRENT :)
The text was updated successfully, but these errors were encountered: