gnucash-android icon indicating copy to clipboard operation
gnucash-android copied to clipboard

Bug - All transactions deleted if export does not complete successfully

Open axiopisty opened this issue 4 years ago • 0 comments

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

axiopisty avatar Sep 18 '21 23:09 axiopisty