Feature Pack 6Feature Pack 5

Enabling interim fix JR48519

Interim fix JR48519 improves Management Center performance by loading public promotion codes when you open a specific promotion only. Promotion codes are no longer loaded when you are viewing the full list of promotions.

Before you begin

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

Procedure

  1. Start WebSphere Commerce Developer.
  2. Open the J2EE perspective and select the Enterprise Explorer view.
  3. Go to the LOBTools > WebContent > config > commerce > promotion > objectDefinitions folder.
  4. Open the PromotionPrimaryObjectDefinition.def file.
  5. Search for the following row:
    <PromotionElementObjectDefinition baseDefinitionName="proProductLevelPerItemFixedCostDiscountPurchaseConditionObjectDefinition" package="pro"/>
  6. Add this code after the row that you found:
    <GetChildrenService objectTypes="PromotionCode" url="/cmc/GetPromotionCodes">
         <ServiceParam name="storeId"/>
         <ServiceParam name="promotionId" propertyName="promotionId"/>
    </GetChildrenService>
  7. Save the file and rebuild the LOBTools project.
  8. Restart the WebSphere Commerce Test Server.
  9. Open a new browser window and visit the Management Center and verify that the Promotions tool loads without issues.
To deploy the change to your WebSphere Commerce server, complete the following steps:
  1. Export the LOBTools project:
    1. In the Enterprise Explorer view, right-click LOBTools and select Export > WAR file.
    2. Click Browse to select a destination.
    3. Click Finish.
  2. Deploy the new LOBTools.war on the target WebSphere Commerce server.