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

Referenced content is not found during the import process

    Details

      Description

      Contents should be find from referred group as well.

      The fetchMissingReference in BaseStagedModelDataHandler handles this use case, however there are few stagedmodeldatahandlers which override the default behavior and handle only the actual group.

      Reproduction steps:

      1. Create Site "A"
      2. Create a Web Content
      3. Export the Site
      3. Create Site "B"
      4. Put a Web Content Display to a page, select the Web Content from Site "A"
      5. Export the Site
      6. Delete the two Sites
      7. Create a new Site
      8. Import Site "A"
      9. Create another Site
      9. Import Site "B"

      Result:
      Error in the UI:
      "There are missing references that could not be found in the current site. Please import the following elements first:"

      Expected:
      No error message as the referenced content exists.

      This issue is reproducible with DLFileEntryTypes, DDMStructures and DDMTemplates as well.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 14 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP58
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.10 DXP FP1
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master