IBM Support

JR48490: CMVC 232164 - Unable to display catalog filter when the filter contains a large list of exclusions/inclusions

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If customer has a large list of exclusions or inclusions defined
    for catalog filter, when the filter is viewed in CMC, it fails
    to render the list
     of exclusions or inclusions.  The call to getChildern
    eventually times out.
    

Local fix

  • Manually edit jsp:
    
     LOBToolsWebContentjspcommercecatalogfilterrestrictedGetCatalogF
    ilt
     erChildren.jsp:
    
     Find this part:
    
       <c:forEach var="productSetAssociation"
     items="${catalogFilter.productSetSelection}">
             <c:forEach var="catalogEntry"
     items="${productSetAssociation.productSet.catalogEntryIdentifie
    r}">
              <c:set var="uniqueIDs"
    value="${catalogEntry.uniqueID}"/>
              <jsp:directive.include file="GetProductsById.jsp" />
              </c:forEach>
        </c:forEach>
    
     Replace it with:
    
       <c:forEach var="productSetAssociation"
     items="${catalogFilter.productSetSelection}">
         <c:set var="uniqueIDs" value=""/>
             <c:forEach var="catalogEntry"
     items="${productSetAssociation.productSet.catalogEntryIdentifie
    r}">
               <c:if test="${empty uniqueIDs}">
                  <c:set var="uniqueIDs"
    value="${catalogEntry.uniqueID}"/>
                </c:if>
               <c:if test="${!empty uniqueIDs}">
                  <c:set var="uniqueIDs"
     value="${uniqueIDs},${catalogEntry.uniqueID}"/>
               </c:if>
              </c:forEach>
             <jsp:directive.include file="GetProductsById.jsp" />
        </c:forEach>
    
     In
     LOBToolsWebContentjspcommercecatalogfilterrestrictedGetProducts
    ByI
     d.jsp:
    
     Find this part:
     <wcf:getData
    
    type="com.ibm.commerce.catalog.facade.datatypes.CatalogEntryType
    []"
      var="catentries"
    expressionBuilder="getCatalogEntryDetailsByIDs"
     varShowVerb="showVerb">
    
     replace the getCatalogEntryDetailsByIDs with
     getCatalogEntrySummaryByIDs.
    

Problem summary

  • USERS AFFECTED:
     Any user that has a large list of exclusions/inclusions for a
    catalog filter
    
     PROBLEM ABSTRACT:
     Unable to display catalog filter when the filter contains a
    large list of exclusions/inclusions
    
     BUSINESS IMPACT:
     Allow user to view edit in cmc when using catalog filter with
    large list of exclusions
    
     RECOMMENDATION:
     Fix can be obtained by contacting Support or will be included
    in future fixpack
    

Problem conclusion

  • There will be a change to the jsps mentioned above.
    
     LOBToolsWebContentjspcommercecatalogfilterrestrictedGetCatalogF
    ilt
     erChildren.jsp:
    
     Find this part:
    
       <c:forEach var="productSetAssociation"
     items="${catalogFilter.productSetSelection}">
             <c:forEach var="catalogEntry"
     items="${productSetAssociation.productSet.catalogEntryIdentifie
    r}">
              <c:set var="uniqueIDs"
    value="${catalogEntry.uniqueID}"/>
              <jsp:directive.include file="GetProductsById.jsp" />
              </c:forEach>
        </c:forEach>
    
     Replace it with:
    
       <c:forEach var="productSetAssociation"
     items="${catalogFilter.productSetSelection}">
         <c:set var="uniqueIDs" value=""/>
             <c:forEach var="catalogEntry"
     items="${productSetAssociation.productSet.catalogEntryIdentifie
    r}">
               <c:if test="${empty uniqueIDs}">
                  <c:set var="uniqueIDs"
    value="${catalogEntry.uniqueID}"/>
                </c:if>
               <c:if test="${!empty uniqueIDs}">
                  <c:set var="uniqueIDs"
     value="${uniqueIDs},${catalogEntry.uniqueID}"/>
               </c:if>
              </c:forEach>
             <jsp:directive.include file="GetProductsById.jsp" />
        </c:forEach>
    
     In
     LOBToolsWebContentjspcommercecatalogfilterrestrictedGetProducts
    ByI
     d.jsp:
    
     Find this part:
     <wcf:getData
    
    type="com.ibm.commerce.catalog.facade.datatypes.CatalogEntryType
    []"
      var="catentries"
    expressionBuilder="getCatalogEntryDetailsByIDs"
     varShowVerb="showVerb">
    
     replace the getCatalogEntryDetailsByIDs with
     getCatalogEntrySummaryByIDs.
    
     -------------------------------------------------------------
     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

    JR48490

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / Pervasive

  • Submitted date

    2013-11-13

  • Closed date

    2014-03-17

  • Last modified date

    2014-03-17

  • 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:
17 March 2014