IBM Support

PM84460: LOADING EMPTY DATA INTO JSONSTORE COLLECTION RESULTS IN FAILURE CALLBACK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an adapter, which is linked to a JSONStore collection,
    connects to a backend service that returns empty data ([]) for
    the key the user provided in the load object given to
    initCollection, the failure callback is invoked even though the
    data (the empty set) was successfully loaded.  A similar
    invocation to the failure callback is incorrectly made when the
    user creates a collection with initCollection(), links it to an
    adapter, calls the collection.load() method and the adapter
    returns empty data ([]).
    

Local fix

  • There is currently no work around for this issue.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers using the JSONStore and initCollection with       *
    * {load: true} or calling load(), where the linked adapter may *
    * return empty data ([]).                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If the adapter returns empty data, then the JSONStore code   *
    * will erroneously invoke the failure callback.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code was modified to correctly deal with the adapter
    returning an empty set.
    
    The fix for this APAR is currently targeted for inclusion in
    refresh pack 5.0.6.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM84460

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-09

  • Closed date

    2013-07-17

  • Last modified date

    2013-07-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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R505 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"505","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 July 2013