Interim fix JR50747 adds support of invalidation policies in the
cachespec.xml file to invalidate base cache JSP pages when a new e-Marketing
Spot is created.
Before you begin
- Install the cumulative interim fix for Fix Pack 7, JR53048.fp.
- Install the cumulative interim fix for Fix Pack 8, JR52306.fp.
JR50747 is included in the cumulative interim fix.For information about
how to install an interim fix, see
Procedure
-
Open the cachespec.xml file.
-
Remove any existing invalidation entries that are associated with
ProcessMarketingSpotCmdImpl
.
-
Remove any existing invalidation entries that are associated with
ChangeMarketingSpotCmdImpl
.
-
Add the following entries:
<!-- E-Marketing Spot create/delete -->
<cache-entry>
<class>command</class>
<name>com.ibm.commerce.marketing.facade.server.commands.ProcessMarketingSpotCmdImpl</name>
<property name="delay-invalidations">true</property>
<invalidation>emsName
<component id="getUniqueName" type="method" multipleIDs="true">
<required>true</required>
</component>
</invalidation>
<invalidation>emsId
<component id="getUniqueID" type="method" multipleIDs="true">
<required>true</required>
</component>
</invalidation>
</cache-entry>
<!-- E-Marketing Spot update -->
<!-- When flex flow feature is updated invalidate all our store JSP's -->
<cache-entry>
<class>command</class>
<name>com.ibm.commerce.marketing.facade.server.commands.ChangeMarketingSpotCmdImpl</name>
<property name="delay-invalidations">true</property>
<invalidation>FlexFlowFeatureUpdate</invalidation>
<invalidation>emsId
<component id="getUniqueID" type="method" multipleIDs="true">
<required>true</required>
</component>
</invalidation>
</cache-entry>