IBM Support

PM95197: [wi 93202]RAMAssetQueryBuilder API not working when sub-category is repeated

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

  • Headline:
    When using RAMAssetQueryBuilder API and if category name is
    repeated under different category trees in the same category
    schema assets are not found.
    
    Abstract:
    Attempts to use RAMAssetQueryBuilder API to search for asset
    belonging to the same category schema, but in different branches
    were some nodes have the same name returns zero results.
    
    Error Description:
    For example you have the following categories
    
    category
        branch1
            samebranch
        branch2
            samebranch
    
    If you search for assets categorized by 'branch1/samebranch' you
    will not get any results.  If you remove 'branch2/samebranch'
    and re-run your search you will get results.
    
    WORKAROUND:
    The workaround is to build your query using a subcategory id.
    
    String subcategoryid =
    myCategory.getSubCategory('branch1/samebranch').getId();
    queryBuilder.addSearchFilter(myCategory, subcategoryid);
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * RAM                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * 1. Problem description and statement                         *
    *                                                              *
    * If category name is repeated under different category trees  *
    * in the same category schema assets are not found using       *
    * RAMAssetQueryBuilder API.                                    *
    *                                                              *
    * like this category:                                          *
    * category                                                     *
    * |-one                                                        *
    * | |-three                                                    *
    * |   |-five                                                   *
    * |-two                                                        *
    *  |-four                                                      *
    *   |-five                                                     *
    *                                                              *
    * 2. Customer Environment                                      *
    *                                                              *
    * RAM 7.5.1.1 testFix 11c                                      *
    * Linux                                                        *
    * WAS 7.0.0.29                                                 *
    * Oracle 11g enterprise edition 11.2.0.3.0                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM95197

  • Reported component name

    RATL ASSET MGR

  • Reported component ID

    5724R4200

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-15

  • Closed date

    2014-06-15

  • Last modified date

    2014-06-15

  • 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

    RATL ASSET MGR

  • Fixed component ID

    5724R4200

Applicable component levels

  • R752 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSUS84","label":"Rational Asset Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2014