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

DM - No error message when moving a document to a folder that has an existing document of the same name

    Details

      Description

      Steps to reproduce:

      1. Add the Documents and Media portlet to a page
      2. Add a folder, Folder 1, with a basic document titled "Document"
      3. Add a 2nd folder, Folder 2, with a basic document titled "Document"
      4. Navigate into Folder 2 and click on the vertical ellipsis of the document "Document"
      5. Click Move > Select > Choose folder 1
      6. Click on Move

      Expected result: A user should be alerted with the following:

      The folder you selected already has an entry with this name. Please select a different folder.

      Actual result: There are no alerts, the document is not moved, and there are JS errors:

      "NetworkError: 490  - http://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_javax.portlet.action=%2Fdocument_library%2Fmove_entry&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fmove_entry"
      
      Navigation error for [screen_2] (Error: Invalid response status code. To customize which status codes are valid, overwrite `screen.isValidResponseStatusCode` method.)
      

      Please see attached gif.
      Reproduced on:
      Tomcat 8.0.30 + MySQL 5.6 Portal master GIT ID: 36fe33b57a98cdee1df7a4c0df2d322ce42706ac.

        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:
                  3 years, 40 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 CE RC1