The expected behaviour indicated in
LPS-108711, after discussing it in PTR-1543, is incorrect.
Users should be redirected to the same display page template where the form is placed, not the one where the Asset Publisher is placed.
Steps to reproduce:
- Add a new simple form.
- Add a new display page template "dpt": include the form widget on it and select the recently created form to display.
- Add a new web content, "wc": set as its display page template the one created in 2.
- Add a new widget page, 'test', and include an Asset Publisher on it.
- Click on "wc".
- Fill and submit the form.
Expected result: after submitting the form, it redirects you to the same page in /web/guest/w/wc
Current result: after submitting the form, you are redirected to 'test', where the Asset Publisher is placed.
- is caused by
LPS-108711 Incorrect redirect from forms when they are submitted in content display pages
- is related to
LPS-109985 Submitting a form withing a Display Page redirects to a blank page