IBM Support

PI19673: BUSY INDICATOR DOES NOT HIDE AFTER DIRECT UPDATE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Initial WL app on device with busy indicator showing and then
    direct update notification comes; update the app and after
    update finishes, the busy indicator is still showing and does
    not hide, which makes the app hanging on the page and stops
    the app and customer to the next steps.
    This problem happens every time on both android and iOS and
    different types of mobile devices.
    

Local fix

  • Add the following code at the end of busyIndicatorShowApp.js:
    ----------------------------------------------------------------
    var _wl_update = WL.App.__update;
    WL.App.__update = function(shouldUpdateSilently) {
    busy.hide();
    _wl_update.bind(WL.App)(shouldUpdateSilently);
    };
    ----------------------------------------------------------------
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers are not notified that a direct update process is  *
    * about to begin.                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Worklight client doesn't send notifications that a direct    *
    * update process is about to begin and therefore are unable to *
    * take custom actions (like hide a busy indicator).            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The problem is fixed by firing a custom event
    WL.Events.BEFORE_DIRECT_UPDATE, which can be handled at the
    document level ($(document).on(WL.Events.BEFORE_DIRECT_UPDATE,
    function() {....}).
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI19673

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-09

  • Closed date

    2014-06-18

  • Last modified date

    2014-06-18

  • 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

  • R600 PSY

       UP

  • R610 PSY

       UP

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

Document Information

Modified date:
17 October 2021