New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on budget creation when no income/expense account #74

Closed
hsoft opened this Issue Jun 22, 2013 · 4 comments

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

@@@
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 1.6.2

Traceback (most recent call last):
File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 550, in savePanel
File "moneyguru/gui/base.pyc", line 159, in save
File "moneyguru/gui/budget_panel.pyc", line 26, in _save
IndexError: list index out of range
@@@

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

The crash is caused by by the lack of income/expense account during budget panel's save(). To reproduce:

  1. Create a new document
  2. Go to the budget view
  3. Add a new budget
  4. Press save (crash)

It shouldn't be possible to add a budget if the document doesn't have an income or expense account.

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

[milestone:id#50408 bulk edit command]

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

Fixed in [133]

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [133]) [#74 state:fixed] Prevent budgets from being added if there's no income/expense account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment