IBM Support

JR56119: The "categoryview" resource "byParentCategory" REST method is returning itself along with its child categories

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • REST API response of the following API
    /search/resources/store/10151/categoryview/byParentCategory/2310
    7?depthAndLimit=*
    
    returns the current category where only the subcategory is
    expected.
    

Local fix

Problem summary

  • USERS AFFECTED:
    Clients who utilize the categoryview/byParentCategory method.
    
    PROBLEM ABSTRACT:
    The "categoryview" resource "byParentCategory" REST method is
    returning itself along with its child categories
    
    BUSINESS IMPACT:
    REST call returns incorrect results.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updated the "CatalogGroup" "IBM_findSubCategories" search
    profile to use a newly introduced search expression provider
    SolrRESTSearchChildCategoryExpressionProvider instead of
    SolrRESTSearchShallowCategoryExpressionProvider provider to make
     use of the parentCatgroup_id_facet to return child categories
    only.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR56119

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-14

  • Closed date

    2016-07-28

  • Last modified date

    2016-07-28

  • 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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021