cancel
Showing results for 
Search instead for 
Did you mean: 

GiveAway Product causes Jalo Exception

amichele
Explorer
0 Kudos
255

During cart validation, on DefaultCommerceCartService, validateCart

public List<CommerceCartModification> validateCart(final CommerceCartParameter parameter)

the resulting CommerceCartModificartion returns an entity that points to an AbstractOrderEntry that does not exist anymore, since deleted by "undoPromotions" of PromotionsEngine.

Then the PromotionEngine creates a new "GiveAway" entry that obviously does not correspond to the entry in the cartModification results that has problems

Accepted Solutions (0)

Answers (1)

Answers (1)

Neeraj_Jain
Active Contributor
0 Kudos

Hello amichele,

Found a similar SAP thread. Please check if it works for you. Am not expert.

https://answers.sap.com/questions/12760355/dehybrisplatformjalojaloitemnotfoundexception-item.html

Regards,

Neeraj Jain

amichele
Explorer
0 Kudos

Thank you ejainee1 for your input.
Actually, this JaloException is not a "random case", but apparently caused by a hole (error, bug,...) on the DefaultCommerceCartService, that relies on a cart entry previously removed by the promotion service.