[英]Registering new custom ComputedItem to ComputedItemTypesRegistry
按照食譜 - 籃子計算 ( https://support.intershop.com/kb/index.php/Display/23V395 )
我創建了兩個具有唯一 jaxb 名稱的新自定義計算項:
此外,這兩個計算項都在擴展 Cartridge 類的自定義類中的 ComputedItemTypeRegistry 中注冊:
現在,當調用計算並執行新的計算規則時,我收到一個異常,即第一個計算項 MKComputedBenefitItemImpl 未注冊:
由於墨盒屬性位置錯誤,無法識別新墨盒類別 A1MKCartridge。
指南 - 7.10 墨盒屬性的遷移:
https://support.intershop.com/kb/index.php/Display/28Z691
<cartridge_name>.properties
在 ICM 7.10 中從 \\share\\system\\config\\cartridges 移至<cartridge_name>\\src\\main\\resources\\cartridges
。 這具有以下含義。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.