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
- Install the cumulative interim fix for Feature Pack 5, JR53048.fep. JR48519 is included in
the cumulative interim fix.
- Install the interim fix for JR48519.
For information about
how to install an interim fix, see
Procedure
-
Start WebSphere Commerce Developer.
-
Open the J2EE perspective and select the Enterprise Explorer
view.
-
Go to the folder.
-
Open the PromotionPrimaryObjectDefinition.def file.
-
Search for the following row:
<PromotionElementObjectDefinition baseDefinitionName="proProductLevelPerItemFixedCostDiscountPurchaseConditionObjectDefinition" package="pro"/>
-
Add this code after the row that you found:
<GetChildrenService objectTypes="PromotionCode" url="/cmc/GetPromotionCodes">
<ServiceParam name="storeId"/>
<ServiceParam name="promotionId" propertyName="promotionId"/>
</GetChildrenService>
-
Save the file and rebuild the LOBTools project.
-
Restart the WebSphere Commerce Test Server.
-
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:
-
Export the LOBTools project:
-
In the Enterprise Explorer view, right-click LOBTools and select .
-
Click Browse to select a destination.
-
Click Finish.
-
Deploy the new LOBTools.war on the target WebSphere Commerce server.