golf1052 / QuotesApp

A multiplatform quotes app.
1 stars 0 forks source link

App crashes when trying to add a second quote #8

Open golf1052 opened 10 years ago

golf1052 commented 10 years ago

Steps to recreate:

  1. Log into app.
  2. Create quote in a group and submit that quote.
  3. Create another quote in the same group and try submitted that quote. The app will crash.

IDK if trying to add another quote in a different group does not cause the app to crash. Mainly creating this issue so I remember this bug exists.

golf1052 commented 10 years ago

So after some preliminary debugging...it just crashes. IDK why. Crashes on SaveAsync line. Obviously it doesnt crash the first time stuff is run. Maybe I need to read more documentation...

else
{
    Quote quote = new Quote(AppConstants.user, groupObject, blurbs);
    groupObject.Get<List<object>>("quotes").Add(quote.ToParseObject());
    await groupObject.SaveAsync();
    NavigationService.GoBack();
}