Skip to content

delete splits when transaction is saved.#251

Merged
codinguser merged 2 commits intocodinguser:developfrom
fefe982:dev-split-edit
Oct 15, 2014
Merged

delete splits when transaction is saved.#251
codinguser merged 2 commits intocodinguser:developfrom
fefe982:dev-split-edit

Conversation

@fefe982
Copy link
Copy Markdown
Contributor

@fefe982 fefe982 commented Oct 15, 2014

Currently, the edit of transaction and each split are saved when the transaction is saved (when the save button is clicked in the TransactionFormFragment), except that the splits deleted in the splits view are deleted when the split view exits.

When the splits are saved (resulting in some splits deleted, others edited), but the transaction is not saved, it will result in a transaction with some deleted splits while no other splits change. However, when the transaction is not saved, nothing should change in the transaction, including the deleted splits.

This pull request would make all edits/deletions to splits and edition to transaction to be saved when the save button is clicked in the transactionFormFragment.

@codinguser
Copy link
Copy Markdown
Owner

Thanks!
Should this not go into the hotfix as well?

codinguser added a commit that referenced this pull request Oct 15, 2014
Modify splits only when transaction is saved.
@codinguser codinguser merged commit 965ae21 into codinguser:develop Oct 15, 2014
@fefe982 fefe982 deleted the dev-split-edit 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.

2 participants