I've noticed that when this happens, some of the save() calls seem to be "skipped". Examining the tutorial DatabaseObject reveals that some goals are saved as incomplete, while later goals save as complete. This is a problem, since the user will see completed goals show up as incomplete.
What's causing this and is there anything I can do to solve this problem? My save call looks like this:
- Code: Select all
databaseObject.save( false, false, onComplete, onError );
Additionally, I sometimes will get this error if I save too quickly: "An unexpected error occured inside the Player.IO webservice. Please try again."
Upon reloading the game, I then get the Flash TypeError from my earlier "Deleted data does not stay deleted post": post5631#p5473 .
Thanks, guys.
EDIT: I just encountered a related problem, and figured I should append this post rather than make a new one. I've just tried truncating this Goals table repeatedly, and though BigDB tells me the table's been truncated, opening and viewing the table shows all the data is still there. I was able to solve the problem by deleting the data manually. Other tables truncate just fine, it's only this Goals table which is causing problems.