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

Documents and Media portlet gets stuck in the "upload document" view if the URL path is a friendly URL

    Details

      Description

      Description

      The user has a friendly URL path set up for a layout and a documents and media portlet on that page. When uploading a file through the portlet, the file uploads successfully but the portlet redirects to the "upload document" page instead of the main folder. Also, the back button and cancel buttons do not work.

      Steps to reproduce

      1. Deploy the attached module (test-1.0.0.jar) into osgi/modules
      2. Add the documents and media portlet to the home page
      3. Add the "test Portlet" from the Sample category to the home page
      4. Go to http://localhost:8080/web/guest/home/-/testId/1. You should remain on the same page
      5. Add a document using the documents and media portlet

       

      Results of Testing

      Expected Results: Document is added and portlet is redirected to the documents and media portlet main folder

      Actual Results: Document is uploaded but portlet remains on the upload documents page. Also, the back button and the "Cancel" button do not work

       

      Errors/Logs

      No errors

      Master

      Reproduced - 18de6fb68fc0bd6bf3dde7a9a258226f7660548c

      Branch

      Reproduced - de1b3f18ecf6fc5f2c52e55e54bafa9f51693857

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 42 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP40
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.0 M1
                7.1.X
                Master