Skip to content

Bug - All transactions deleted if export does not complete successfully #908

Description

@axiopisty

Steps to reproduce the behaviour

  1. Create a (set of) transaction(s).
  2. In the hamburger menu select Export... with the export to field left empty so it states: "Send to...", the format field set to: QIF, and select the checkbox "Delete transactions after export"
  3. Select the Export button. This will open an option to export the transactions. Do not complete this operation. Cancel it (I did this unknowingly simply by swiping down on my screen). Once this is done, the transactions have not been exported anywhere but the transactions have indeed been deleted. I lost almost 1 month of transactions because of this bug.

Expected behaviour

If the "Delete transactions after export" checkbox is checked, all transactions should be deleted only if they were "successfully" exported. Don't just delete them once the export button has been clicked. The application needs to know if the transactions were deleted successfully or not. If not, do not delete them!

Actual behaviour

If the "Delete transactions after export" checkbox is checked, all the transactions are deleted even if they were NOT "successfully" exported.

Software specifications

  • GnuCash Android version: 2.4.0
  • System Android version: 11
  • Device type: moto g stylus
  • RAM: 4GB
  • ROM 128GB
  • Display: 2300x1080

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions