Open dsemelianov opened 3 years ago
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?
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?