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

Community created from site template that has web content containing a link to a document in Global makes a copy of the document.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.0.12 EE, 6.2.0 CE M5
    • Fix Version/s: 6.0.12 EE, 6.2.0 CE M5
    • Component/s: DM
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.0 SP2
      OPERATING SYSTEM: Red Hat Enterprise 5
      APPLICATION SERVER: Tomcat 6.0
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: SQL Server 2008
    • Fix Priority:
      3

      Description

      Summary :
      Community created from site template that has web content containing a link to a document in Global makes a copy of the document.

      Steps to reproduce :
      1. Go to control panel
      2. Go to Global community
      3. Go to Document Library in Global community
      4. Create a folder
      5. Add a file into the Folder

      6. Create a new Site template
      7. In the Site Template, Create a new web content. In the content add a link to global DL File
      8. Add a new page to the site template, then add the web content (from step 7) to the page. Save.
      9. Note the url of the link

      10. Create a new community, set public pages = site template (created from step 6)
      11. View the the web content in the new community
      12. Note the link to the document is a different url. It points to a document contained in the new community. Expected behavior is the url should point to the global document
      13. In the control panel, view the Document Library in the new Community. The File from Global (step 5) is copied in the new Community. Expected behavior is the File is not copied into the new community.

      Example links in trunk :
      In site template : /documents/10191/10503/barca.jpg/c1207de3-2329-4e4f-a459-b9f4726329d3?t=1361775641000
      In new site: /documents/10549/10568/barca.jpg/c1207de3-2329-4e4f-a459-b9f4726329d3?t=1361775648000?t=1361775641000

      Notes :
      Able to reproduce on Trunk Git URL : 21e24b0e5c1625df172ce63a364d9e8197743106

        Attachments

          Activity

            People

            • Assignee:
              dale.shan Dale Shan (Inactive)
              Reporter:
              michael.chen Michael Chen (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:
                6 years, 10 weeks, 6 days ago

                Packages

                Version Package
                6.0.12 EE
                6.2.0 CE M5