Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
-
7.3.x, 7.2.x, 7.1.x
-
Committed
-
1
-
3
-
LIMA | QA Sprint 5
-
Default
Description
Steps to Reproduce:
- From Product Menu > Content > Blogs > Add blogs create an entry with title: "test" and content: "test".
- Add a second blog entry with title: "test" and content "test2".
- Fom Blogs, click on vertical ellipsis on top right > Export/Import > Export LAR file with the 2 blog entries (default settings).
- Create a new site.
- From Blogs, in the new site, Import LAR file from step 4.
Expected Results:
Import should be successful.
Actual Results:
Import fails with an exception like the following one:
2021-01-05 09:50:22.724 ERROR [liferay/background_task-4][BackgroundTaskMessageListener:182] Unable to execute background task com.liferay.exportimport.kernel.lar.PortletDataException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.blogs.model.impl.BlogsEntryImpl#39806] at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:408) at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:381) at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:367) at com.liferay.blogs.web.internal.exportimport.data.handler.BlogsAdminPortletDataHandler.doImportData(BlogsAdminPortletDataHandler.java:170) at com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:390) at com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:419) at com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:348) at com.liferay.exportimport.internal.controller.PortletImportControllerImpl.doImportPortletInfo(PortletImportControllerImpl.java:1047) at com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importFile(PortletImportControllerImpl.java:299) at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importPortletInfo(ExportImportLocalServiceImpl.java:445)
Attachments
Issue Links
- causes
-
LPS-127212 Cannot export/import blog entries into a site with existing entry with same title
- Closed
-
LPS-129612 Cannot import two blogs with the same title via a LAR file
- Closed
- mentioned in
-
Page Loading...