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

Drafts and previously published articles with saved drafts are not being imported

    Details

    • Story Points:
      0.25
    • Fix Priority:
      3

      Description

      Summary
      Import into a new site does not account for site data which contains Web Content articles that are in the following draft states:

      • Completely new draft article
      • Previously saved/approved article that is edited and is saved a draft

      Steps to Reproduce

      1. Product Menu > Liferay DXP (Site) > Content > Web Content
      2. Create a web content and publish it (Title: 1)
      3. Create a web content and save it as draft (Title: 2)
      4. Create a web content, publish it (Title: 3). Once it's published, edit it again but save it as draft (Title: 3draft)
      5. Product Menu > Liferay DXP (Site) > Publishing > Export > Export the Liferay DXP site with (default settings), noting that the counter is (2) for web content
      6. Save the exported LAR file
      7. Create a new site, then go to the new site
      8. Go into Product Menu > New Site > Publishing > Import > > Drag and drop the LAR file
      9. Check the Web Content section and observe which articles are imported

      Actual results
      Only the approved articles (i.e. 1 and 3) are imported

      Expected Behavior
      All content, including drafts are imported (i.e. 1, 2 and 3d)

      Reproduced in
      7.1.x Private Commit: 815320372a34faa0ccd0ed1d4989af7d1502c5e6

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 49 weeks, 2 days ago

                Packages

                Version Package