A fix is available
APAR status
Closed as program error.
Error description
Calling the WL.Logger.status() JavaScript function results in an error observable in Xcode console and logcat due to the incorrect processing of the call through the LoggerPlugin Cordova plugin. For example, in Xcode console, you might see an error like: 2014-07-24 17:43:28.404 LogExample[39981:1b03] [DEBUG] [Logger] [setNativeOptions] Problem handling plugin arguments, exception: *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Developers who call WL.Logger.status JavaScript API function * * will not receive a returned promise object as described by * * the documentation. * **************************************************************** * PROBLEM DESCRIPTION: * * The WL.Logger.status function does not return a promise * * object, as described by the documentation. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The internal implementation of the WL.Logger.status function has been fixed so that it returns a promise object and resolves that promise object correctly.
Temporary fix
Comments
APAR Information
APAR number
PI22757
Reported component name
WORKLIGHT CONSU
Reported component ID
5725I4301
Reported release
620
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-07-25
Closed date
2014-09-02
Last modified date
2014-09-02
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
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:
17 October 2021