Skip to content

Android Application freezes up completely when using saveEventually() #1007

Open
@tutorbear

Description

@tutorbear

Issue Description

saveEventually() is suppose to save objects using relations recursively just like saveInBackground does. The logic of my code is very simple and straight forward. I have a logged in user. I create a new ParseObject (Profile) and associate it with the user. Then when I call saveEventually The entire app freezes up.
Yes Local Db is enabled

Steps to reproduce

  1. Signup and login.

  2. Put this code on the onClick listener of a button in android.

    Parse user = ParseUser.getCurrentUser();
    //A profile object
    profile = new ParseObject("StudentProfile");
    profile.put("user", user);
    profile.put("name", "John");
    profile.setACL(new ParseACL(user));
    //Put profile object into user
    user.put("profile",profile);
    user.saveEventually();

Expected Results

user saved along with new profile object while pointing towards it.

Actual Outcome

App Freezes

Environment Setup

  • parse-server version: 3.9.0
  • Hosted on Back4app

Logs/Trace

Non , App freezes up and stops responding

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions