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

Cannot export linked document with custom document type

Details

    • 7.0.x
    • Committed
    • 1
    • 3

    Description

      Steps to Reproduce:

      1. Create a new Site named Site1.
      2. Create, in Site1, a new Document Type, named Type1, that contains a "Documents and Media" field.
      3. Create a Type1 document out of a pdf file. Leave the "Documents and Media" file empty.
      4. Create a new pdf basic document.
      5. Link step 4 created document to step 3 created document.
      6. Export site public pages.

       

      Expected Results:

      No missing reference regarding the linked document should appear in the LAR manifest file.

       

      Actual Results:

      A missing reference like the following one appears:

      <missing-reference class-name="com.liferay.document.library.kernel.model.DLFileEntry" class-pk="37965" display-name="18517010-12370083-CI.pdf" group-id="37875" group-key="Site1" live-group-id="37875" type="dependency" referrer-class-name="com.liferay.document.library.kernel.model.DLFileEntry" referrer-display-name="08.pdf" uuid="b283fff2-60f7-9e41-7c73-ffc90117c324" company-id="20115" element-path=""/>
      

      Attachments

        Issue Links

          Activity

            People

              joyce.wang Joyce Wang
              mariano.alvaro Mariano Álvaro
              Kiyoshi Lee Kiyoshi Lee
              Mariano Álvaro Mariano Álvaro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 46 weeks, 3 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP99
                  7.0.10.16 DXP SP16
                  7.0.X