Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
When a valid “Redirect URL on Success” is configured the form does not redirect and instead a “No value is defined for field..” error is seen in the UI. Though the form does successfully get submitted.
- Set redirect.url.domains.allowed to blank (which is the default) and redirect.url.security.mode=domain on portal.properties (so as to allow redirecting from Liferay to external domains)
- Create a form with any required field (e.g. text field);
- In the form setting set the "Redirect URL on Success" to a valid known URL;
- Save the form
- Add the form to a page
- Fill the required form field and submit
Expected Result: The form will be submitted and the user will be redirected to the success page;
Actual Result: The form will be submitted, but the user won't be redirected on success. An error message will appear saying "No value is defined for field..."
Depending on the affected version, a different result will appear, but the redirection won't happen.
In Chrome one can see the following error
master git hash 8f3351359c0f27823a8798a2077a2b2a26e0dad0
7.2.x git hash 05b89e58b929443db5c12191766f6cad16a18cee
7.1.x git hash bedf729391ee066dbb3c94cce2faf187665fcbf4
7.0.x git hash ad9d60faf581bde658667f7058f285b0ce70fa63