Creating a new App Page with the same name as another page causes PSU to replace the existing page
When creating pages within an app, if there is already a page existing with that name PSU will overwrite the existing page code with the standard new template page. The PSU also starts to freeze at this point until the service is restarted.
I believe PSU is replacing the .ps1 file in Repository\dashboards\[Appname]\pages[pagename].ps1
Where [pagename].ps1 is being replaced with a standard template.
Steps to reproduce:
Suggested resolution:
-Check if .ps1 exists before replacing.
-Inform user that it already exists with a dialog and ask if they want to rename or if they want to continue to replace the .ps1 file / page.
@wutzanspm Thanks for the details. I've opened an issue to track it. I'll let you know if we need any more information.
Adam Driscoll
PowerShell Expert and Developer at Devolutions