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

Generated WebDAV URL directs to current site for all documents including shortcuts from a remote site

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.20 EE GA2, 6.1.X EE, 7.0.0 M3
    • Component/s: DM, DM > WebDAV
    • Environment:

      Description

      Steps:
      1. sign in as test@liferay.com and navigate to Control Panel > Sites
      2. create a new site, TEST_SITE, and a page, MPage1, for TEST_SITE
      3. navigate to Control Panel > Sites > liferay.com (Guest) Scope > Documents and Media
      4. upload a file, jcTestFile.docx
      5. navigate to Control Panel > Sites > TEST_SITE Scope > Documents and Media or http://localhost:8080/web/test_site/mpage1 and add a Documents and Media portlet to the page
      6. inside the Documents and Media portlet (via Control Panel or on a page), add the liferay.com (Guest) file, jcTestFile.docx, as a shortcut
      7. should be unable to access the file using WebDAV or Open MS Office option due to jcTestFile.docx not available within TEST_SITE scope

      Actual Behavior:

      Shortcut will try and open the file within TEST_SITE rather than Guest scope which makes the file not available to be opened.

      Expected Behavior:
      We should check for the correct site when generating the URL.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                linda.sui Linda Sui
                Reporter:
                jenny.chen Jenny Chen
                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, 49 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1