【发布时间】:2019-04-23 12:40:07
【问题描述】:
我在 hybris 1808 中创建了一个促销,但是当我尝试发布该促销时它失败了。 1808 Vanilla Hybris 也有同样的促销活动
我在 localextension.xml 中添加了以下属性并尝试过,但仍然遇到同样的问题
- promotionenginesamplesaddon
- promotionengineatddtests
我预计促销状态为发布,但发布时失败并显示以下错误日志:
19.04.23 17:54:40:527 INFO *************************************
19.04.23 17:54:40:535 INFO Starting RuleEngineCompilePublishJob
19.04.23 17:54:40:535 INFO *************************************
19.04.23 17:54:44:903 ERROR The rule compilation finished with errors
19.04.23 17:54:44:910 ERROR Exception caught - de.hybris.platform.servicelayer.exceptions.ModelSavingException: [de.hybris.platform.droolsruleengineservices.interceptors.DroolsRuleValidateInterceptor@3d9f547f]:rule(code:testPromotion) The drl content does not contain the matching rule declaration with the value of your hybris rule's uuid attribute. Please adjust the uuid of your hybris rule and/or add: rule "2e0e0ac2-7475-44c1-9114-07a0d7174534" (i.e. putting the rule uuid in double-quotes) in your drl content.
19.04.23 17:54:44:915 INFO *************************************
19.04.23 17:54:44:915 INFO RuleEngineCompilePublishJob finished with errors
19.04.23 17:54:44:915 INFO *************************************
【问题讨论】:
-
如果需要任何其他信息,请告诉我
标签: hybris promotions