Feature Pack 5Feature Pack 6

Enabling interim fix JR46213

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

  • Feature Pack 5Install the cumulative interim fix for Feature Pack 5, JR53048.fep. JR46213 is included in the cumulative interim fix.
  • Feature Pack 6Install the interim fix for JR46213.

Procedure

  1. Open a connection to your database.
  2. Run the following SQL statements on you database client:
    1. delete from cmdreg where interfacename = 'com.ibm.commerce.contract.catalogfilter.command.ResolveProductSetSearchExpressionCmd';
    2. 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');
    3. delete from cmdreg where interfacename = 'com.ibm.commerce.contract.commands.CalculateProductSetEntitlementCmd';
    4. insert into cmdreg (storeent_id,interfacename,classname,target) values
      (0,'com.ibm.commerce.contract.commands.CalculateProductSetEntitlementCmd',
      'com.ibm.commerce.contract.commands.CalculateProductSetEntitlementWithAndOpertationCmdImpl', 'LOCAL');
  3. 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:
    1. Open the WC_eardir/xml/config/com.ibm.commerce.contract-fep/wc-component.xml
    2. Add the following code snippet:
      <_config:extendedconfiguration>
      
          <_config:configgrouping name="MultipleContracts">
              <_config:property name="operation" value="AND"/> 
          </_config:configgrouping> 
      
      </_config:extendedconfiguration> 
    3. Deploy your changes.