2014-09-19 87 views
0

用戶在應用促銷代碼時收到此錯誤,我已經研究了很多,但找不到此錯誤的原因。XPath查詢表達式「/ PX_CDUSAGE [CODE_FOR_REFERENCE =]」無效

環境是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天找出這個錯誤的根本原因,但無法找到anything.Any幫助將高度讚賞。

回答

0

xpath表達式已完成。它應該是這樣的:

"/PX_CDUSAGE[CODE_FOR_REFERENCE='forgotten']" 
+0

它可以在哪裏設置?我可以從哪裏編輯這個表達式? – 2014-09-19 07:31:18

+0

我以爲這是你自己的代碼。如果不是,那麼唯一的解決辦法是聯繫提供此應用程序的人。 – 2014-09-19 07:48:45