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

Guest user is redirected to a success page if the page is refreshed during an upload

    Details

      Description

      Description

      When a guest user upload a file and refresh the page, a success alert is shown and the user is redirected to a page with the following message:

      Your information was successfully received. Thank you for filling out the form.
      
      

      Steps to Reproduce

      1. Go to Content & Data > Forms
      2. Add a Form;
      3. Add an Upload Field_;
      4. Publish the Form;
      5. Access the form as a guest user;
      6. Select a file to upload;
      7. Refresh the page;
      8. Observe.

      Expected Result

      When the the user refresh the page, nothing happens.

      Actual Result

      A success alert is shown and the user is redirected to a page with a message that the information was received.
       Note: Despite the message, the file upload only happens when the user press the Submit button.

      Video: UploadSentWhenRefreshPage.mp4

      Reproduced In:
      master: ad36b8c4f2c0a9f5be5f304ba88eb629ba12a85a

        Attachments

          Activity

            People

            Assignee:
            carolina.barbosa Carolina Barbosa
            Reporter:
            nilo.rodrigues Nilo Rodrigues (Inactive)
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Carolina Barbosa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              18 weeks, 3 days ago

                Packages

                Version Package
                7.4.3.8 CE GA8
                7.4.13 DXP U4
                Master