Skip to content
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

import with null parent #299

Merged
merged 1 commit into from
Mar 21, 2015
Merged

import with null parent #299

merged 1 commit into from
Mar 21, 2015

Conversation

fefe982
Copy link
Contributor

@fefe982 fefe982 commented Mar 21, 2015

When an account tree is created with gnucash-android (not imported), ROOT account may not exist. Thus in exported XML files, top level accounts do not have parent, causing the parentAcount to be null.

Added a check that will treat all accounts without a parent to be top level.

Should fix #295 .

codinguser added a commit that referenced this pull request Mar 21, 2015
Import backup files with accounts having no parent
fixes #295
@codinguser codinguser merged commit f3a1f3f into codinguser:develop Mar 21, 2015
@fefe982 fefe982 deleted the fix-295 branch March 27, 2015 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants