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

Refine the message shown for InvalidFolderException

    Details

      Description

      Reproduction steps:
      1) use ee-6.2.x and login as OmniAdmin
      2) Add a Documents & Media Portlet to the landing page
      3) Create a new folder
      4) Select the folder and choose "Move"
      5) Select the folder itself as new destination folder and click "Move"

      Expected:

      • A more user friendly message on the UI indicating it is not possible to move the folder into itself for example: Unable to move FolderName into itself.

      Actual behavior:

      • A message on the UI saying: Your request failed to complete. // Unable to move folder 10461 into itself.

      Branch:
      Reproduced on 6.2.x @ 972750731cce348de47b1f5588c8efbb8525f223

      Master:
      Reproduced on master @ cbf40f57fb8d247402cb25faf7b1292adc81363e

        Attachments

        1. fixed.png
          fixed.png
          13 kB
        2. reproduced.png
          reproduced.png
          14 kB

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              zsolt.olah Zsolt Oláh (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 46 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M5