cancel
Showing results for 
Search instead for 
Did you mean: 

Modifiers partof=true not allowing impex update

0 Kudos

Hi Experts, i am facing some issue with modifier partof=true at relation ship level. i created one -many realtionship between product item and item(it's extends generic item) for this realtion at target level mentioned modifier partof=true only the reason when i insert impex data is avaliable at stage level but it's not reflecting at online when i do sysnchronisation.So by Keeping partof =true synchronisation is working fine able to see data at online as well.

but now the issue is when i update the impex statetment again am getting error "Caused by: de.hybris.platform.jalo.JaloInvalidParameterException: cannot assign partOf item 8796095617200 to 8796127298591 since it already belongs to 8796094727199[HY-0]" so can you please help on this.

Thanks in Advance !

Accepted Solutions (0)

Answers (1)

Answers (1)

raghavendra_desu
Contributor
0 Kudos

Hi eja,

When you declare a attribute modifier as partof=true it declares that the assigned attribute value only belongs to the current instance of this type. So you will not be able to change the assignment to other instance. Due to this you are getting this error.

To make your new item catalog aware, you need to follow the instructions given in below link. So that you don't need to make it as partof but you can get your new itemtype also synced with catalog sync job.

https://wiki.hybris.com/pages/viewpage.action?spaceKey=R5T&title=Trail+~+Catalogs

Regards,

Raghavendra.

0 Kudos

Thank you . Let me try in this way

0 Kudos

Hi , Thanks for the reply !

I tried with CatalogAware for the new ItemType and I removed Partof attribute but still data is not reflected in online when i do synchronization.

for reference i did some analysis on Product and Price Row realtion . where price row they made it as catalogAware and mentioned in the relation partof = true. in my case if i mention partof=true it's creating issue so i removed it .

Please help on this.

Thanks in Advance !

raghavendra_desu
Contributor
0 Kudos

Hi eja,

This issue could be because of the catalog sync job configuration. You can solve this either by making it as partof=true or changing the sync job configuration.

FYI, as the item is now catalog aware it will not through previous exception even if we keep partof=true.

0 Kudos

Hi , Thanks for your quick reply ! still i am getting the same error even by making item as CatalogAware.

Thanks in Advance !

0 Kudos

Hi , Thanks for your quick reply ! still i am getting the same error even by making item as CatalogAware and have partof attribute in the relation at TargetElement side

Thanks in Advance !

raghavendra_desu
Contributor
0 Kudos

Hi RaviTeja,

As explained in previous comment, can you try changing the catalog sync job configuration from HMC. So that your property also will be considered fro catalog sync.