Interim fix JR46213 allows more than one contract to be passed in and evaluated in the
GetCatalogNavigationView service call. Also, functionality is added to allow changing the default
OR
evaluation of contract product-set exclusion to AND
the product
sets together. To use this new functionality, complete the following procedure.
Before you begin
- Install the cumulative interim fix for Feature Pack 5,
JR53048.fep. JR46213 is included in the cumulative interim fix.
- Install the interim fix for JR46213.
For information about
how to install an interim fix, see
Procedure
-
Open a connection to your database.
-
Run the following SQL statements on you database client:
-
delete from cmdreg where interfacename = 'com.ibm.commerce.contract.catalogfilter.command.ResolveProductSetSearchExpressionCmd';
-
insert into cmdreg (storeent_id,interfacename,classname,target) values
(0,'com.ibm.commerce.contract.catalogfilter.command.ResolveProductSetSearchExpressionCmd',
'com.ibm.commerce.contract.catalogfilter.command.ResolveProductSetSolrExpressionWithAndOpertionCmdImpl','LOCAL');
-
delete from cmdreg where interfacename = 'com.ibm.commerce.contract.commands.CalculateProductSetEntitlementCmd';
-
insert into cmdreg (storeent_id,interfacename,classname,target) values
(0,'com.ibm.commerce.contract.commands.CalculateProductSetEntitlementCmd',
'com.ibm.commerce.contract.commands.CalculateProductSetEntitlementWithAndOpertationCmdImpl', 'LOCAL');
-
The default value is "OR" for the operation between multiple buyer contracts. To configure the
operation between multiple buyer contracts with 'AND', complete the following steps:
-
Open the
WC_eardir/xml/config/com.ibm.commerce.contract-fep/wc-component.xml
-
Add the following code snippet:
<_config:extendedconfiguration>
<_config:configgrouping name="MultipleContracts">
<_config:property name="operation" value="AND"/>
</_config:configgrouping>
</_config:extendedconfiguration>
-
Deploy your changes.