Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
No error handling when creating a PageAsset that uses a URL that is already in use. #15951
Right now when you attempt to create a PageAsset on the SYSTEM FOLDER using a URL that is already in use you won't get any Error message. The Content-Edit Dialog will simply close without a warning. And you'll see an exception in your logs like :
A similar problem was already solved for FileAssets. Apparently, PageAssets use a different execution path.
You should get a dialog warning you about another existing PageAsset using that URL
When you hit save the Content Edit Dialog goes away without warning the user about the issue.
Steps to Reproduce (for bugs)
On content Search :
The second attempt will generate a url equal to the one used to save the first page.
this is what I am seeing: