What SharePoint development model, framework, SDK or API is this about?
Site designs & site scripts
Developer environment
Windows
What browser(s) / client(s) have you tested
[ ] π₯ Internet Explorer
[ ] π₯ Microsoft Edge
[X] π₯ Google Chrome
[X] π₯ FireFox
[ ] π₯ Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
browser chrome and firefox
Describe the bug / error
Navigation event is not fired correctly on new page creation. When the page is saved it is directed to the recycle bin. In the recycle bin it ends up duplicated in two different formats and folders.
In the recycle bin there are 2 original locations:
tenant/sites/nameofthesite/SitePages (the correct location) in aspx format
tenant/sites/nameofthesite/SitePages/News (the wrong location) in unknown format
I have deleted the folder location at: tenant/sites/nameofthesite/SitePages/News location but it reappears when a new page is created.
When running Get-SPOSite -Template REDIRECTSITE#0 the url above is not listed.
Steps to reproduce
Create new page
Save new page (/sites/nameofthepage/_api/sitepages/page(637)/SavePage
Expected behavior
When Creating a new page (or news post) the url is "SitePages/newpage.aspx?Mode=Edit"
Then to a generated the page the URL changes to e.g "SitePages/nmorjnzr.aspx?Mode=Edit"
Then to whatever title set in the page e.g "SitePages/addedpage.aspx"
{"odata.error":{"code":"-1, Microsoft.SharePoint.Client.ClientServiceException","message":{"lang":"en-US","value":"Item does not exist. It may have been deleted by another user."}}}
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Site designs & site scripts
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Navigation event is not fired correctly on new page creation. When the page is saved it is directed to the recycle bin. In the recycle bin it ends up duplicated in two different formats and folders. In the recycle bin there are 2 original locations:
I have deleted the folder location at: tenant/sites/nameofthesite/SitePages/News location but it reappears when a new page is created.
When running Get-SPOSite -Template REDIRECTSITE#0 the url above is not listed.
Steps to reproduce
Expected behavior
When Creating a new page (or news post) the url is "SitePages/newpage.aspx?Mode=Edit" Then to a generated the page the URL changes to e.g "SitePages/nmorjnzr.aspx?Mode=Edit" Then to whatever title set in the page e.g "SitePages/addedpage.aspx"