on ‎2019 Jun 17 7:06 PM
Hi,
When I try to sync product catalog from staged to online, it fails. And when I check in the media sync logs. I get 8796228452353;;;;;false other than which I do not have any other info why it failed. Where from can I get what is the header of the above impex. Also how can I resolve this sync issue.
Request clarification before answering.
Hi Viveksaipavan,
Have you customized the OOTB Item Product for adding your new attributes? What error exactly you are seeing in the logs? Can you please share the logs?
You can enable more logs by adding below entries in your properties file. log4j.logger.de.hybris.platform.catalog.jalo.synchronization.CatalogVersionSyncWorker =INFO log4j.logger.de.hybris.platform.catalog.jalo.synchronization.CatalogVersionSyncMaster =INFO log4j.logger.de.hybris.platform.catalog.jalo.synchronization.AbstractItemCopyContext =INFO log4j.logger.de.hybris.platform.catalog.jalo.synchronization.CatalogVersionSyncCopyContext =INFO
If you have customized your OOTB Product item type then your custom attributes might be causing the issue.
Search for the sync job for product synchronization. ############################### SYNC JOB IMPEX ###################################################### $sourceProductCV=sourceVersion(catalog(id[default='testProductCatalog']),version[default='Staged'])[unique=true,default='testProductCatalog:Staged'] $targetProductCV=targetVersion(catalog(id[default='testProductCatalog']),version[default='Online'])[unique=true,default='testProductCatalog:Online']
INSERT_UPDATE CatalogVersionSyncJob;code[unique=true];$sourceProductCV;$targetProductCV; ;sync-StagedToOnlineTest;;;;
INSERT_UPDATE CatalogVersionSyncCronJob;code[unique=true];job(code);active;sessionLanguage(isocode);sessionUser(uid);sessionCurrency(isocode) ;stagedToOnlineTestCronjob;sync-StagedToOnlineTest;true;en;admin;USD ######################################################################################################
-Please check your custom item type is present in the root types.
-Sync Job holds all the sync properties as well. You can try disable the custom attributes one by one and see which attributes are causing issues in synchronization.
Below link will give you more understanding.
https://www.sap.com/cxworks/article/432582396/Catalog_Synchronization
8796228452353;;;;;false - You can use PK analyzer from HAC to check which item type in the Product is causing issue. it can be category, media etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.