on 03-21-2017 12:41 PM
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 !
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 !
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.