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

The file upload fails and the error message doesn't appear

    Description

    Description

    The file upload fails and the error message "Please enter a file with a valid extension (doc, docx, jpeg, jpg, pdf, png, ppt, pptx, tiff, txt, xls, xlsx)." doesn't appear

    Steps to Reproduce

    1. Go to Content & Data > Forms;
    2. Add a Form;
    3. Add an Upload Field;
    4. Enable Allow guest users to send files
    5. Publish the form;
    6. Log out Liferay Portal;
    7. Go to published form;
    8. Try adding a document type that is not allowed (eg .mp4, .svg)
    9. Observe

    Expected Result

    The file is uploaded but the error message "Please enter a file with a valid extension (doc, docx, jpeg, jpg, pdf, png, ppt, pptx, tiff, txt, xls, xlsx)." it happens

    Actual Result

    The file upload fails and the error message "Please enter a file with a valid extension (doc, docx, jpeg, jpg, pdf, png, ppt, pptx, tiff, txt, xls, xlsx)." doesn't appear

    Video: UploadGuestUserBug.webm

    Reproduced In:
    master: a3a615adb4df920316561cec06558676c7e94377

    Notes:
    This bug is affecting tests that analyze file size and tests that analyze file type.

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            rafaella.jordao Rafaella Jordao
            Participants of an Issue:
            Recent user:
            Felipe Lins
            Engineering Assignee:
            Rodrigo Paulino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              33 weeks, 6 days ago

                Packages

                Version Package