XPath查询表达式" / PX_CDUSAGE [CODE_FOR_REFERENCE =]"是无效的

时间:2014-09-19 06:04:34

标签: java websphere-commerce wcs

用户在应用促销代码时收到此错误,我已经进行了大量研究但未找到此错误的原因。

Environment是IBM Websphere Commerce 7,DB2。

com.ibm.commerce.order.calculation.FinalizeDiscountCalculationUsageCmdImpl performExecute CMN3201E: 
An unknown error occurred while the Rules System was processing.. 
com.ibm.commerce.marketing.promotion.runtime.PromotionRuntimeException: 
com.ibm.commerce.exception.ECApplicationException: 
A generic promotion system exception occured.  The exception is as follows: 
"The XPath query expression "/PX_CDUSAGE[CODE_FOR_REFERENCE=]" is invalid."
at com.ibm.commerce.marketing.promotion.runtime.PromotionArgument.finalizePromotionArgument(PromotionArgument.java:868)
at com.ibm.commerce.order.calculation.FinalizeDiscountCalculationUsageCmdImpl.performExecute(FinalizeDiscountCalculationUsageCmdImpl.java:104)
at com.ibm.commerce.command.ECCommandTarget.executeCommand(ECCommandTarget.java:157)
at com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCache.java:332)

我一直试图弄清楚这个错误的根本原因,因为2天但找不到任何东西。非常感谢任何帮助。

1 个答案:

答案 0 :(得分:0)

xpath表达式已完成。它应该是这样的:

"/PX_CDUSAGE[CODE_FOR_REFERENCE='forgotten']"