A fix is available
APAR status
Closed as program error.
Error description
When using a Worklight-based hybrid application that contains native pages in a Worklight 6.0 environment, if a Worklight HTTP adapter is invoked from a native start page everything functions correctly. After upgrading to Worklight 6.1, this adapter invocation always fails on iOS 5, however the same Worklight HTTP adapter and Worklight application continue to function correctly on iOS 6 and iOS 7. When the adapter invocation fails, it returns raw HTML as the response: Adapter Failure Response. In the Xcode Console the following error is seen: ============================== [ERROR] Worklight: -[WLRequest requestFailed:]:338::Status code='404' error='(null)' [ERROR] Worklight: -[WLClient onInvokeProcedureFailure: userInfo:]:696::response string=HTML returning from adapter ============================== This is known issue and external reference is at: http://stackoverflow.com/questions/20717048/ibm-worklight-6-1-ad apter-invocation-failing-in-ios-5-after-upgrading-to-v6-1
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Developers and administrators of a Worklight 6.1 environment * * with native application code running in iOS5 environments * * that makes adapter invocations. * **************************************************************** * PROBLEM DESCRIPTION: * * When using iOS5 native applications, there is a chance that * * adapter invocation fails with a 403 exception. There is a * * difference in behavior in Objective C APIs when running on * * iOS 5 when compared to newer versions of iOS. * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
The code has been modified so that the runtime is shielded from the offending behavior differences in the Objective C API when running on iOS 5. The fix for this APAR is currently targeted for inclusion in fixpack 6.1.0.1.
Temporary fix
Comments
APAR Information
APAR number
PI09530
Reported component name
WORKLIGHT CONSU
Reported component ID
5725I4301
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-01-14
Closed date
2014-03-01
Last modified date
2014-03-01
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
R610 PSY
UP
[{"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:
15 October 2021