IBM Support

PI48957: CLIENT APPLICATION HANG WHEN THE SERVER RETURNS RESPONSES THAT AREN'T "WELL FORMATTED"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In worklight.js the code does not check for a condition and
    fails if the isSuccessfull property is not set by the server.
    THis causes the client application to hang.
    For ex
    if (!transport.responseJSON.isSuccessful) {
    }
    

Local fix

  • In the line 8488 in worklight.js
    
    if (!transport.
    responseJSON || (transport.responseJSON &&
    !transport.responseJSON.
    isSuccessful)) {
    }
    Not a recommended solution but it works
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Hybrid API calling invokeProcedure                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In case of malformed response, app might hang                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * this fix needs to be applied                                 *
    ****************************************************************
    

Problem conclusion

  • This fix handles the malformed response, that can be a result of
    network or other disruption
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48957

  • Reported component name

    WL/MFPF ENTERPR

  • Reported component ID

    5725I4300

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-17

  • Closed date

    2015-09-24

  • Last modified date

    2015-09-24

  • 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

    WL/MFPF ENTERPR

  • Fixed component ID

    5725I4300

Applicable component levels

  • R620 PSY

       UP

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

Document Information

Modified date:
15 October 2021