IBM Support

JR43510: CMVC 223802 - ADD AN ADDITIONAL CHECK TO ACTIVATE A PROMOTION AND SO TO HONOR THE SITE-WIDE FLAGIN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A business user might ignore the Management Center user
    interface warnings about missing product or category in a
    promotion. If no product or category is targeted in a promotion,
     then it is considered site-wide and applies to all the products
     in the store.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 who have enabled the site-wide
    flag in the Management Center Promotions tool user interface.
    
    PROBLEM ABSTRACT:
    A business user might ignore the Management Center user
    interface warnings about missing product or category in a
    promotion and inadvertently make the promotion site-wide.
    
    
    BUSINESS IMPACT:
    If the Management Center user interface warnings are ignored,
    then a site-wide promotion may unintentionally be applied to all
    the products in the store.
    
    RECOMMENDATION:
    

Problem conclusion

  • Server-side validation has been added to prevent activation of
    the promotion. This validation logic is enabled by default and
    may be turned off by changing the value of the flag named
    "PromotionSiteWideValidation" to false. This flag is located in
    the promotion component configuration file
    (wc-admin-component.xml).
    
    If a promotion is specified as site-wide in Management Center,
    then the promotion is set to target all the products in the
    store. In this case, no catalog entry or category can be
    specifically included to be targeted in the promotion. Catalog
    entries or categories may be excluded from the promotion.
    
    If a promotion is not specified as site-wide in Management
    Center, then the promotion is set to target a particular catalog
    entry or category. In this case, at least one catalog entry or
    category must be specifically included to be targeted in the
    promotion.
    
    Note: Depending upon the feature pack that you have installed,
    you will need to perform additional customization in Management
    Center Promotions.
    
    In the object definition of all the promotion types where the
    site-wide flag is added, add the following code to ensure that a
    default value of the flag is always saved with a promotion. The
    promotion types where the site-wide flag is specified includes
    all the catalog entry and category promotions.
    
    If you have Feature Pack 2 to Feature Pack 5 installed, then
    make the change to the object definition def files.
    For example, in the
    ProductLevelPercentDiscountPurchaseConditionObjectDefinition.def
    file, add the siteWide element to the existing template as
    follows:
    
                                    <Xml name="template">
       <CatalogEntryAttributeRuleCaseSensitive>false</CatalogEntryAt
    tributeRuleCaseSensitive>
       <MinimumPurchaseType>Quantity</MinimumPurchaseType>
                             <siteWide>false</siteWide>
              </Xml>
    
    Re-start your browser to load the modified def files.
    
    If you have v7 or Feature Pack 1 installed, then make the change
    to the object definition lzx files.
    For example, in the
    ProductLevelPercentDiscountPurchaseConditionObjectDefinition.lzx
    file, create a new dataset and add the siteWide element as
    follows:
    
       <dataset name="template">
                                <siteWide>false</siteWide>
       </dataset>
    
    Rebuild the LOBTools OpenLaszlo Project.
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43510

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-20

  • Closed date

    2013-05-13

  • Last modified date

    2013-05-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 May 2013