You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
When you create a new post or page in the manager, and give it a slug that already exists (either by manually filling in the slug, or using a title that results in a slug being generated that is the same as another), then attempt to save (new posts/pages) or publish (existing posts/pages) this item, it results in a 500 (Internal Server Error) response from the respective API endpoint.
Because this is an internal server error, it looks like the 'saving' progress icon in these manager buttons are forever saving. The user doesn't know about this issue unless a console is opened.
Expected behavior
The manager API should return a StatusMessage instead, as it does with other caught problems, explaining that the specified slug is already in use.
Test case
Open the Piranha Manager.
Create a page with the title Test case,
Save and publish this page.
Create another page, also with the title Test case
Attempt to save this second page, and watch errors appear in the browser console.
The text was updated successfully, but these errors were encountered:
Problem
When you create a new post or page in the manager, and give it a slug that already exists (either by manually filling in the slug, or using a title that results in a slug being generated that is the same as another), then attempt to save (new posts/pages) or publish (existing posts/pages) this item, it results in a 500 (Internal Server Error) response from the respective API endpoint.
Because this is an internal server error, it looks like the 'saving' progress icon in these manager buttons are forever saving. The user doesn't know about this issue unless a console is opened.
Expected behavior
The manager API should return a StatusMessage instead, as it does with other caught problems, explaining that the specified slug is already in use.
Test case
Test case
,Test case
The text was updated successfully, but these errors were encountered: