IBM Support

PM92268: MULTIPLE PUSH NOTIFICATION ON IOS NOTIFYALLDEVICES() AND CREATEDEFAULTNOTIFICATION().

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer has upgraded server and studio to 5.0.6.1.
    Customer changed code to reflect new API relative to
    notifications, following guidelines as reported in
    documentation.
    
    Customer received multiple notifications on device using the
    new app instead of one notification as expected.
    The code changed is relative to API call notifyAllDevices() and
    createDefaultNotification().
    
    This happens on iOS and not Android.
    This bug was introduced in 5.0.6.1, not in 5.0.5.
    

Local fix

  • Customer needs to set the version '0.7'
    manually as a filter criteria in the adapter.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End users who subscribe to receive push notifications from a *
    * Worklight application and later upgrade the application.     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If the user installs an application, subscribes to receive   *
    * push notifications, upgrades the application to a newer      *
    * version, and then subscribes again to receive push           *
    * notifications they will receive multiple such notifications. *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In the NOTIFICATION_DEVICE table in the database there are
    multiple records with the same device ID + token and with the
    same application ID except for the version.
    

Problem conclusion

  • The code has been corrected so that when a user subscribes to
    receive push notifications with a different version of the same
    application Worklight will no longer create a new record in the
    database, but will instead update the previous subscription with
    the new application version.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpacks 5.0.6.2 and 6.0.0.1.
    A fix is available in 6.0.0.0-IF201307011413 and later.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM92268

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    506

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-02

  • Closed date

    2013-07-11

  • Last modified date

    2013-07-11

  • 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 ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R506 PSY

       UP

  • R600 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":"506","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 July 2013