免费礼品促销-购物车重新计算问题

2020-09-04 23:34发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好,我们正在使用hybris 1811.8和OOTB免费赠品促销,当重新加载购物车时,我们会收到此模型保存例外:

INFO 2019-07-29 16:34:37,180 [hybrisHTTP7] [RestHandlerExceptionResolver]翻译异常[de.hybris.platform.servicelayer.exceptions.ModelSavingException]:项目8796133228588不再有效(已删除):对象不再有效 错误2019-07-29 16:34:37,181 [hybrisHTTP7] [RestHandlerExceptionResolver] de.hybris.platform.servicelayer.exceptions.ModelSavingException:项目8796133228588不再有效(已删除):对象在de.hybris.platform不再有效。 位于de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:653)的servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:653)位于de.hybris.platform。 在de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy $$ FastClassBySpringCGLIB $$ 5ee0a3ad.invoke(prox)上的promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy.apply(DefaultAddProductToCartActionStrategy.java:145)。 org.springframework.aop.framework.CglibAopProxy $ CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)上的y.MethodProxy.invoke(MethodProxy.java:204)在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java: 157)在org.springframework.aop.interceptor上的org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)在org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56) org.springframework.aop.framework.aop.framework.CglibAopProxy $ DynamicAdvisedInterceptor.intercept(CglibAopProxy.DynamicAdvisedInterceptor.intercept.java.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ExposeInvocationInterceptor.java:92)在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed ),网址为de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy $$ EnhancerBySpringCGLIB $$ 4179c83f.apply(),网址为de.hybris.platform.ruleengineservi ces.action.impl.DefaultRuleActionService.applyAllActions(DefaultRuleActionService.java:72)位于de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionRuleActionService.applyAllActions(DefaultPromotionRuleActionServiceService.java:42)位于de.hybris.platmotion.promotionengineservices。 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotions(DefaultPromotionEngineService.java:408)处的impl.DefaultPromotionEngineService.updatePromotionsNotThreadSafe(DefaultPromotionEngineService.java:376)在de.hybris.platform.commerceservices.order.impl.Defaultyyyyyyyyyyy.CartCalculationStrategy 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy.restoreCart(DefaultCommerceCartRestorationStrategy.java:79)处在de.hybris.platform.commerceservices.order.impl.DefaultCartService.restore的recalculateCart(DefaultCommerceCartCalculationStrategy.java:123) Java:322) 在de.hybris.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy.loadAnonymousCart(de.hybris.platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy.restoreCart(DefaultCartLoaderStrategy.java:142) .platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy.loadCart(DefaultCartLoaderStrategy.java:91)

有时候,当再次刷新产品回来时,我们在cnd中没有产品

我从 https://answers.sap.com/questions/中检查了一种可能的解决方案 12753211/view.html ,但它对我们不起作用。

有什么建议可能导致此问题吗?

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好,我们正在使用hybris 1811.8和OOTB免费赠品促销,当重新加载购物车时,我们会收到此模型保存例外:

INFO 2019-07-29 16:34:37,180 [hybrisHTTP7] [RestHandlerExceptionResolver]翻译异常[de.hybris.platform.servicelayer.exceptions.ModelSavingException]:项目8796133228588不再有效(已删除):对象不再有效 错误2019-07-29 16:34:37,181 [hybrisHTTP7] [RestHandlerExceptionResolver] de.hybris.platform.servicelayer.exceptions.ModelSavingException:项目8796133228588不再有效(已删除):对象在de.hybris.platform不再有效。 位于de.hybris.platform.servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:653)的servicelayer.internal.model.impl.DefaultModelService.saveAll(DefaultModelService.java:653)位于de.hybris.platform。 在de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy $$ FastClassBySpringCGLIB $$ 5ee0a3ad.invoke(prox)上的promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy.apply(DefaultAddProductToCartActionStrategy.java:145)。 org.springframework.aop.framework.CglibAopProxy $ CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)上的y.MethodProxy.invoke(MethodProxy.java:204)在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java: 157)在org.springframework.aop.interceptor上的org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)在org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:56) org.springframework.aop.framework.aop.framework.CglibAopProxy $ DynamicAdvisedInterceptor.intercept(CglibAopProxy.DynamicAdvisedInterceptor.intercept.java.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ExposeInvocationInterceptor.java:92)在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed ),网址为de.hybris.platform.promotionengineservices.action.impl.DefaultAddProductToCartActionStrategy $$ EnhancerBySpringCGLIB $$ 4179c83f.apply(),网址为de.hybris.platform.ruleengineservi ces.action.impl.DefaultRuleActionService.applyAllActions(DefaultRuleActionService.java:72)位于de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionRuleActionService.applyAllActions(DefaultPromotionRuleActionServiceService.java:42)位于de.hybris.platmotion.promotionengineservices。 在de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotions(DefaultPromotionEngineService.java:408)处的impl.DefaultPromotionEngineService.updatePromotionsNotThreadSafe(DefaultPromotionEngineService.java:376)在de.hybris.platform.commerceservices.order.impl.Defaultyyyyyyyyyyy.CartCalculationStrategy 在de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartRestorationStrategy.restoreCart(DefaultCommerceCartRestorationStrategy.java:79)处在de.hybris.platform.commerceservices.order.impl.DefaultCartService.restore的recalculateCart(DefaultCommerceCartCalculationStrategy.java:123) Java:322) 在de.hybris.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy.loadAnonymousCart(de.hybris.platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy.restoreCart(DefaultCartLoaderStrategy.java:142) .platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategy.loadCart(DefaultCartLoaderStrategy.java:91)

有时候,当再次刷新产品回来时,我们在cnd中没有产品

我从 https://answers.sap.com/questions/中检查了一种可能的解决方案 12753211/view.html ,但它对我们不起作用。

有什么建议可能导致此问题吗?

付费偷看设置
发送
1条回答
xfwsx85
1楼-- · 2020-09-05 00:20

Jacoob,你好

问题主要是由于第一个购物车上有并发或并行请求以查看cnd之一进行重新计算。 请找到并行的对象,并使其一个接一个地解决该问题。

一周热门 更多>