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

Export/Import of JournalArticle with Link to Layout can point to wrong layouts

    Details

      Description

      Steps to Reproduce:

      1. Create a site named Site1.
      2. Create, in Site1, three pages named Page1, Page2, Page3
      3. Create, in Site1, a structure with a Link To Layout field.
      4. Create, in Site1, based on step 3 structure, a web content WC1 that points to Page2.
      5. Create, in Site1, based on step 3 structure, a web content WC2 that points to Page3.
      6. In Page1 add a Web Content Display selecting WC1.
      7. In Page2 add a Web Content Display selecting WC2.
      8. Export site Site1, ensure all pages are selected, and save the generated lar.
      9. Create a site named Site2.
      10. Create, in Site2, three pages named Wrong1, Wrong2, Wrong3.
      11. Remove Site1.
      12. Use the generated lar in step 8 to import it to Site2.

      Expected Results:
      In Site2 WC2 should point to Page3.

      Actual Results:
      Page jumps to Page2 after click on WC2 in Site2.
      If doesn't delete Site1 in previous step, then Page will jump to Page 3 of Site1 not Site2.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joyce.wang Joyce Wang
              Reporter:
              joyce.wang Joyce Wang
              Participants of an Issue:
              Recent user:
              Tomáš Polešovský
              Engineering Assignee:
              Eudaldo Alonso
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                13 weeks, 4 days ago

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  Master