TheAxelander / OpenBudgeteer

OpenBudgeteer is a budgeting app based on the Bucket Budgeting Principle
https://theaxelander.github.io
MIT License
788 stars 43 forks source link

Creating a bucket group and clicking cancel crashes the application #56

Closed Christoph-Wagner closed 2 years ago

Christoph-Wagner commented 2 years ago

v1.4 in Debug mode, Windows, SQLite DB

  1. Click "Create Bucket Group"
  2. Click "Cancel"

Now my expectation would be for the group not to be created. Instead, only the modification is canceled before the button is properly saved, resulting in an NPE at Bucket.razor line 210: @bucketGroup.BucketGroup.Name as bucketGroup.BucketGroup is null. This makes the whole app unresponsive until the page is reloaded. The group is created anyway.

TheAxelander commented 2 years ago

Can confirm this. Will look into it.

TheAxelander commented 2 years ago

Should be resolved as part of #58