Skip to content

pinInBackground throws "Unable to encode an unsaved ParseFile" #1063

@dsemelianov

Description

@dsemelianov

I create a ParseFile, and put it on a ParseObject X.
Then I take ParseObject X, and put it on another ParseObject Y.

All of this is done in the local datastore, since I don't want to save anything to the cloud just yet.

Then I do Y.pinInBackground to save everything to the datastore, and I get this error:

com.parse.ParseException: java.lang.IllegalStateException: Unable to encode an unsaved ParseFile.

Is this by design? If so, what is the suggested way of saving ParseFiles to the local datastore?

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