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

Inconsistent behavior while deleting single document Vs deleting folder/multiple documents

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      Steps to replicate:

      1)Login as admin
      2) Add Documents and Media portlet to a page
      3)Configure the portlet to display 5 items per page
      4)Add 7 folders with names like 'folder001,folder002,...,folder007'
      5)Go to the 2nd page and delete the folder named 'folder007'
      6)The folder would be deleted but you would still remain on 2nd page.
      7) Now folder006 is the only entry displayed in the page
      8)If you delete this folder, the same page 2 is displayed with message "There are no documents or media files in this folder."
      9) Now, add 3 files with names "test001,test002,test003"
      10)These 3 files would be displayed in page 2.
      11)Now if you delete file "test003" it will delete the file and redirect to the 1st page.
      12)Now if you go back to page 2, click on the checkbox beside test002, click on Action and then delete,
      again taken back to first page.
      13)Hence, there is inconsistency in the page redirection after file delete and folder/multiple entries delete.

      Reproduced in 6.1.x and Trunk

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 2 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  --Sprint 11/12
                  6.2.0 CE M2