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.
- Go to http://localhost:8080/web/guest/w/wc
- Fill and submit the form of "dpt".
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 the display template page, which now looks empty, redirecting to /web/guest/dpt
LPS-110185 Forms not redirecting to display page templates