IBM Support

PH03491: A MOBILEFIRST CORDOVA APP MIGHT CRASH ON IOS DEVICES AFTER A SERIES OF LOGINS/LOGOUTS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Product components impacted: MobileFirst SDK
    Mobile Devices Operating Systems impacted: iOS
    User roles impacted: User
    Distribution: npm, Fix Central
    Versions affected: 8.0
    
    It was found that if the following sequence of operations is
    performed multiple times on the iOS platform, then a crash of
    the app could occur:
    
    1. Call an adapter.
    2. Step 1 triggers the MobileFirst security framework and
    challenge hander.
    3. Call WLAuthorizationManager.login from the app.
    4. Adapter Call WLResourceRequest (Call several times)
    5. Call WLAuthorizationManager.logout in the callback of the
    adapter.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End users of mobile apps with the MobileFirst iOS SDK        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Intermittently, when a series of login/logout calls are made *
    * from an app interspersed with calls to MobileFirst adapters, *
    * the app may crash on the device. This occurs on Cordova apps *
    * on iOS                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The MobileFirst SDK has been modified to avoid the crash. Proper
    error handling is added in code to handle the exception.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH03491

  • Reported component name

    MOBILE1ST PF EN

  • Reported component ID

    5725I4300

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-10-01

  • Closed date

    2018-11-19

  • Last modified date

    2018-11-19

  • 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

    MOBILE1ST PF EN

  • Fixed component ID

    5725I4300

Applicable component levels

  • R800 PSY

       UP

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

Document Information

Modified date:
19 November 2018