A fix is available
APAR status
Closed as documentation error.
Error description
WL.Encrypted.Destroy calls success callback before the cache is destroyed. As a result, the cache is not destroyed when closing the application within the success callback.
Local fix
Introduce a little delay in the success callback to ensure the cache is destroyed properly before the application closes.
Problem summary
**************************************************************** * USERS AFFECTED: * * Applications that use the Encrypted Offline Cache feature of * * Worklight SDK client runtime. * **************************************************************** * PROBLEM DESCRIPTION: * * Users of Encrypted Offline Cache feature of Worklight SDK * * client runtime may observe that success callback functions * * are invoked prior to the actual completion of the method * * that was called. This is expected behavior as a result of * * the delegation to the underlying HTML5 LocalStorage * * implementation. Documentation has been added and clarified * * to more accurately describe the expected behavior. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
Documentation has been clarified.
Temporary fix
Comments
APAR Information
APAR number
PI13999
Reported component name
WORKLIGHT ENTER
Reported component ID
5725I4300
Reported release
610
Status
CLOSED DOC
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-03-18
Closed date
2014-05-19
Last modified date
2014-05-19
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 October 2021