cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOM + synchronous pricing leading to asynchronous pricing retrieval attempt

nicolabeghin
Product and Topic Expert
Product and Topic Expert
0 Likes
378

Hi everyone we're currently facing a strange behavior in our SOM environment. When adding a product to the cart Hybris tries to retrieve a locally-available pricing in place of using the synchronously-retrieved one from SAP (which is correctly shown in the product details page). This leads to an exception, since such pricing is not available. BTW pricing is correctly shown once the product is into the cart.

 Cart model HY00016005 was not calculated due to: 
 de.hybris.platform.jalo.order.price.JaloPriceFactoryException: No price defined for
  product: Product '000001011207010000' (8797239967745)
  pg: ProductPriceGroup.35(35(8796394356827))
  user: xyz@xyz.com[8796289728516]
  ug: UserPriceGroup.B2B_DEFAULT_PRICE_GROUP(B2B_DEFAULT_PRICE_GROUP(8796124217435))
  quantity: 1
  unit: Unit 'PCE' type 'SAP-AAAADL' (8796130181130)
  currency: 8796093087777->EUR
  date: 1/9/19 3:42 PM
  net: false[HY-0]] with root cause
  de.hybris.platform.jalo.order.price.JaloPriceFactoryException: No price defined for
  product: Product '000001011207010000' (8797239967745)
  pg: ProductPriceGroup.35(35(8796394356827))
  user: xyz@xyz.com[8796289728516]
  ug: UserPriceGroup.B2B_DEFAULT_PRICE_GROUP(B2B_DEFAULT_PRICE_GROUP(8796124217435))
  quantity: 1
  unit: Unit 'PCE' type 'SAP-AAAADL' (8796130181130)
  currency: 8796093087777->EUR
  date: 1/9/19 3:42 PM
  net: false[HY-0]

stacktrace

 at de.hybris.platform.europe1.jalo.Europe1PriceFactory.getBasePrice(Europe1PriceFactory.java:1545)
 at de.hybris.platform.order.strategies.calculation.impl.FindPricingWithCurrentPriceFactoryStrategy.findBasePrice(FindPricingWithCurrentPriceFactoryStrategy.java:62)
 at de.hybris.platform.sap.productconfig.services.impl.FindPricingForConfigurableProductsStrategy.findBasePrice(FindPricingForConfigurableProductsStrategy.java:51)
 at de.hybris.platform.order.impl.DefaultCalculationService.findBasePrice(DefaultCalculationService.java:887)
 at de.hybris.platform.order.impl.DefaultCalculationService.resetAllValues(DefaultCalculationService.java:400)
 at de.hybris.platform.order.impl.DefaultCalculationService.recalculateOrderEntryIfNeeded(DefaultCalculationService.java:374)
 at de.hybris.platform.order.impl.DefaultCalculationService.calculateEntries(DefaultCalculationService.java:315)
 at de.hybris.platform.order.impl.DefaultCalculationService.calculate(DefaultCalculationService.java:82)
 at de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartCalculationStrategy.calculateCart(DefaultCommerceCartCalculationStrategy.java:79)
 at de.hybris.platform.commerceservices.order.impl.DefaultCommerceAddToCartStrategy.addToCart(DefaultCommerceAddToCartStrategy.java:98)
 at de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartService.addToCart(DefaultCommerceCartService.java:117)
 at de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.DefaultCartRestorationFacade.addCartEntriesToStandardCart(DefaultCartRestorationFacade.java:135)
 at de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.DefaultCartRestorationFacade.setSavedCart(DefaultCartRestorationFacade.java:108)
 at de.hybris.platform.sap.sapordermgmtb2bfacades.order.impl.DefaultSapCartFacade.addToCart(DefaultSapCartFacade.java:188)
 at com.client.storefront.controllers.misc.AddToCartController.addToCart(AddToCartController.java:107)

Any hint about this?

thanks nicola

Accepted Solutions (0)

Answers (0)