A fix is available
APAR status
Closed as program error.
Error description
Duplicate push notifications may occur in the case that the end-user installs the application, subscribes to push notifications, uninstalls the applications and then reinstalls it and subscribes to push notifications again. This will only occur if the subscribed event source declares a callback for the onDeviceSubscribe trigger.
Local fix
Remove the duplicate database entries by hand.
Problem summary
**************************************************************** * USERS AFFECTED: * * Users using an application that subscribes to push * * notifications from an event source that declares a callback * * for an onDeviceSubscribe trigger. * **************************************************************** * PROBLEM DESCRIPTION: * * In the case of sending a push notification to an application * * that has been un-installed from a device (in which case the * * push notifications service removes it from its own records), * * the following message is received in Worklight (in the * * Eclipse Worklight console), for example for GCM: * * FWLSE0087I: GCM: Device registration ID * * APA91bF5t0FStMOqQDYp9j-2_eA7pacp4Ly0EfTjj73L0BS6JWO7Xma_WE67 * * FFYw5OR1gK0pVI6kHmGE77q7aNKFkeDCbiwkVGtrnFrOQaWKqUAbBkOCRoqH * * GEfFPdeqSvpMzm0bevt461lhez_44Fm7Nbxx5DEyPA rejected by the * * server (NotRegistered). Subscription deleted. * * However, in fact Worklight does not delete the subscription * * from the database, the subscription remains in the * * NOTIFICATION_DEVICE table (because there was an internal * * error while calling onDeviceSubscribe). This will lead to * * possible double-notifications if the end-user * * installed-subscribed-uninstalled-reinstalled-subscribed, in * * the application. * * This will only happen in the case where the subscribed event * * source declares a callback for the onDeviceSubscribe trigger * * (in the adapter xml file). * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The code was fixed so that the subscription is properly removed from the database. The fix for this APAR is currently targeted for fixpack 5.0.6.2 and is available in fixpack 6.0.0.1.
Temporary fix
Comments
APAR Information
APAR number
PM97582
Reported component name
WORKLIGHT CONSU
Reported component ID
5725I4301
Reported release
506
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-22
Closed date
2013-09-22
Last modified date
2013-09-22
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
R506 PSY
UP
R600 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"506","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 November 2021