PM86121: SOCIAL.FRAMEWORK CANNOT BE USED WITH NATIVE WL API (IN BOTH HYBRID AND NATIVE APPS)

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

  • Social.framework (framework provided by Apple) contains more
    than one model named "UserRecord".
    
    Attempting to use this framework in a hybrid or native app may
    result in an application crash with an error of the form:
    
    "Terminating app due
    to uncaught exception 'NSInvalidArgumentException', reason:
    'Can't
    merge models with two different entities named 'UserRecord''"
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers building iOS applications with the Worklight      *
    * native API and trying to make use of Social.framework.       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An iOS native application which attempts to use both the     *
    * Worklight native API and Apple's Social.framework crashes    *
    * when it is run.                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The code was fixed to allow the framework to be used
    successfully.
    
    The fix for this APAR is available in 5.0.6.1 Interim Fix
    201306201315 and later and in the 6.0.0.0 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM86121

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-02

  • Closed date

    2013-08-14

  • Last modified date

    2013-08-14

  • 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

  • R505 PSY

       UP

  • R506 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Worklight

Software version:

5.0.5

Reference #:

PM86121

Modified date:

2013-08-14

Translate my page

Machine Translation

Content navigation