-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.3.4 CE GA5, 7.3.5 CE GA6, 7.3.10 DXP GA1, Master
-
Component/s: Staging
-
Labels:
-
Fix Priority:3
-
Last Working Version:
-
Databases:MySQL 5.7
-
Git Pull Request:
-
QA Test Score:3
Step to reproduce:
- Add a new site
- Enable Local Live
- Navigate to Staging site
- Add a vocabulary in staging site
- Add a category in vocabulary
- Click the ellipsis button on Control Menu > Staging > Publish to Live
- Assert success message
- Add a web content article based on Basic Web Content
- Select the new category and Publish
- Click the ellipsis button on Control Menu > Staging > Publish to Live
Expected Results:
The Publish to Live should succeed.
Actual Results:
The following error message is shown in popup:
An unexpected error occurred with the publication process. Please check your portal and publishing configuration. The Category Vocabulary Vocabulary Name could not be imported because of the following error: A category vocabulary with the name Vocabulary Name already exists.
Additionally, the following error is thrown in log console.
2020-08-03 01:28:09.328 ERROR [liferay/background_task-8][BackgroundTaskMessageListener:182] Unable to execute background task com.liferay.exportimport.kernel.lar.PortletDataException: A category vocabulary with the name Vocabulary Name already exists 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.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:454) at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:296) at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importReferenceStagedModels(BaseStagedModelDataHandler.java:859) at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.j
Reproduced on:
Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: a20c7ad437fccefb74adcfddf2d750d339b555c2.
Cannot be reproduced on:
Tomcat 9.0.33 + MySQL 5.7. Portal 7.3.3-GA4.