Details
-
Story
-
Resolution: Fixed
-
Medium
-
None
Description
Currently (with the patch in EZP-23583), after creating a section, the section is displayed (good!) but the URL is /shell#/admin/pjax%2Fsection%2Fcreate and the title is still Creating a new section. This is happening because the form is submitted with an XmlHttpRequest and the server generates a redirection. Unfortunately, it's impossible to prevent the browser from following this redirection. So the idea is to be able to achieve a kind of redirection in the admin part of the PlatformUI so that the JS app changes its URL and the title is updated.
So, when submitting a form, when everything is OK, the Pjax response should have the status code 205 with a custom header PJAX-Location where this header would point to the PJAX Uri to load to display the result.
Examples with the sections:
- after a section creation, the header value would be /pjax/section/view/XXX
- after a section update, the header value would be /pjax/section/view/XXX
- after a section removal, the header value would be /pjax/section/list
Attachments
Issue Links
- relates to
-
EZP-23583 As an editor, I want to be able to use forms in the administration part of the PlatformUI App
- Closed