IBM Support

PI42201: IOS UNEXPECTED BEHAVIOR WHEN WILLSENDREQUEST IS NOT IMPLEMENTED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using iOS WLResourceRequest sendWithDelegate, the delegate
    must implement the  NSURLConnectionDataDelegate protocol.
    
    The method willSendRequest is supposed to be optional. If I do
    not implement it, I get no error in build time, no errors at
    runtime - but the client never connects to the adapter.
    No request is sent.
    

Local fix

  • Implement willSendRequest and return request
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users who implemented WLNSURLConnectionDataDelegate and  *
    * didn't override willSendRequest                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If willSendRequest is not overridden in                      *
    * WLNSURLConnectionDataDelegate, the request is dropped        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Code was fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI42201

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-02

  • Closed date

    2015-06-09

  • Last modified date

    2015-06-09

  • 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

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021