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

Generic error is shown when admin tries to set a big folder name for Docs and Media attachment path

Details

    Description

      Description

      When the admin tries to add a big name value on the path field of the attachment option when using Upload from user computer with Doc and Media toggle ON there is a generic error.

      Steps to Reproduce

      1. Go to Objects
      2. Create a new Object
      3. Add an Attachment field
      4. Select the Request Files > Upload Directly from the User's Computer
      5. Enable the Show Files in Documents and Media toggle
      6. On Attachment field settings > fill the "Storage Folder" field with a huge folder name (e.g. /aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
      7. Tries to save
      8. Observe

      Expected Result

      A specific error message should be shown to the admin

      Actual Result

      A generic error message is shown

       Evidence:
      attachmentFolderNameSizeGenericError.mp4

      Reproduced In master: 
      33f75d9f9ec6ee62b3978edf64eaef54b9820c5d

      Attachments

        Issue Links

          Activity

            People

              thiago.buarque Thiago Buarque
              diogo.santos Diogo Santos (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Gabriel Victor Gabriel Victor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 weeks, 1 day ago

                Packages

                  Version Package
                  7.4.3.36 CE GA36
                  Master