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

Site export fails with com.liferay.exportimport.kernel.lar.PortletDataException

    Details

      Description

      Steps to Reproduce:

      1. Create a site named Site1.
      2. Create a page named Page1.
      3. Add to the previous page a Web Content Display.
      4. Go to the Web Content Display configuration and Click scope.
      5. In the scope combo select Page 1 (Create New) and click Save.
      6. From Site Administration > Content & Data change Default Scope to Page1.
      7. In Documents and Media upload a new document and publish it.
      8. Go back to Site1 and add a new Asset Publisher in Page1.
      9. Configure the Asset Publisher adding as scope Page1 and click Save.
      10. Export Site1.

       

      Expected Results:

      No exception should appear on the logs.
       

      Actual Results:

      An exception like the following one appears:

      2020-05-15 07:09:52.914 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:177] Unable to execute background task
      com.liferay.exportimport.kernel.lar.PortletDataException: Unable to update portlet preferences during export
      	at com.liferay.asset.publisher.web.internal.exportimport.portlet.preferences.processor.AssetPublisherExportImportPortletPreferencesProcessor.processExportPortletPreferences(AssetPublisherExportImportPortletPreferencesProcessor.java:159)
      	at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortletPreference(PortletExportControllerImpl.java:1057)
      	at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortletPreferences(PortletExportControllerImpl.java:1149)
      	at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:524)
      	at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.exportLayoutPortlets(LayoutStagedModelDataHandler.java:925)
      	at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:380)
      	at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:133)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                mariano.alvaro Mariano Álvaro
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  16 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP93
                  7.0.10.14 DXP SP14
                  7.0.X
                  7.1.10 DXP FP18
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.3 CE GA4
                  Master