on 2018 Feb 26 6:05 AM
We are crating product category to classification category relationship via sync, but not sure why this relation is not getting sync after running the synchronization job.
impex used:
INSERT_UPDATE CategoryCategoryRelation;target(code, $catalogVersion)[unique=true];source(code, $classCatalogVersion)[unique=true]
;someProductcategory2;someClasificationcategory1;
;someProductcategory2;someClasificationcategory21;
Not sure what we are missing, as we don't see any log errors. Moreover when we check the sync attributes both supercategories and categories attribute are marked as sync attributes.
thanks for help in advance !!
Request clarification before answering.
Hi,
Category is set as Roottype in syncprocess?
Updating CategoryCategoryRelation doesn't change the modified date of a Category.
Root types will sync if:
The source item modification time stamp is newer than last synchronizing time.
Documentation https://help.hybris.com/6.6.0/hcd/8c6a8d0786691014b52df14168b84ee7.html
Possible solution: When updating CategoryCategoryRelation also update the corresponding categories via
UPDATE Category; code[unique = true]; modifiedtime[dateformat = dd.MM.yyyy hh:mm:ss]; $productCV;
Br, Dieter
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.