SAP Knowledge Base Article - Preview

1994188 - User deletion error - crash when no connection to backend

Symptom

In our iOS online app the deletion of the user crashes when there is no connection to the backend.

Please find the relevant code, and XCode screenshot.

-(void)delete
{
    ...
    ODPClientConnection *clientConnection = [ODPClientConnection getInstance:applicationId];
    [clientConnection stopClient];
    
    ODPUserManager *userManager = [ODPUserManager getInstance:applicationId];
    NSError *error;
    if ([userManager isUserRegistered])
        [userManager deleteUserWithError:&error];
    [ODPClientConnection clearServerVerificationKey];
   
    ...
}


Read more...

Environment

  • Device iOS 7
  • Mobile SDK ODP libraries 2.2.5
  • RESTful web services without OData
  • Sybase Unwired Platform 2.2.5

Product

Sybase Unwired Platform 2.2

Keywords

KBA , MOB-SUP-ODP , Sybase Unwired Platform Online Data Proxy , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.