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

Apply LPS-13285 to Wiki fallback uploader

    Details

      Description

      Apply LPS-13285 to Wiki fallback uploader to provide inline validation and not require the use of a popup alert to provide the error message to the user.

      Steps to Reproduce:

      1. Add the following to your portal-ext.properties: dl.file.extensions=.txt
      2. Start Tomcat/Portal
      3. Add the Wiki Portlet to any page
      4. Using DevTools search for the class "lfr-fallback"
      5. Remove the "hide" class from the "lfr-fallback" div
      6. Using the fallback uploader attempt to add any file that is not a .txt

      Expected Result: Validation error message appears inline underneath the input.
      Actual Result: A native browser alert is displayed on error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              melody.wu Melody Wu
              Reporter:
              jonathan.mccann Jonathan McCann
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 7 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP45
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.X
                  Master