Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-62626

Guest cannot see success or failure message on submit of published form

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 Beta 5
    • Fix Version/s: 7.0.0 Beta 6
    • Component/s: Forms
    • Labels:

      Description

      Steps to Reproduce:

      1. Go to Liferay > Content > Forms
      2. Add new form
      3. Add text field
      4. Go to settings ellipsis > Settings
      5. Enable "Require CAPTCHA"
      6. Save form
      7. Edit form
      8. Go to settings ellipsis > Publish
      9. Enable "Publish Form"
      10. Copy URL to published form
      11. Logout of portal
      12. Go to publication URL
      13. Input text field and captcha field
      14. Submit
      15. Go to publication URL again
      16. Input text field but leave captcha field blank
      17. Submit

      Expected Result:
      Guest user receives messages, "Your request failed to complete. Text verification failed."

      Passing verification gives Guest user without permission (add record) receives message, "Your request failed to complete. You do not have the required permissions."

      Actual Result:
      Either way, Guest user is redirected to blank page.
      Console gives warning:

      23:29:56,270 WARN  [http-bio-8080-exec-6][SecurityPortletContainerWrapper:341] User 0 is not allowed to access URL http://localhost:8080/web/forms/shared and portlet com_liferay_dynamic_data_lists_form_web_portlet_DDLFormPortlet
      

      The user is also redirected to a blank page if guest is given "Add Record" permissions and passes form verification.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 40 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 Beta 6