If imported transactions were adjusted/modified manually on the account then it should't be possible to undo those transactions via Undo imported files functionality

Description

Currently, if you modify or adjust imported transaction on the account and after that, undo the whole import, then there are no changes on the account.

To prevent that situation from happening there should be a validation which doesn't allow to undo imported transactions via Undo imported files functionality, if those transactions were previously modified/adjusted manually on the account.

Repro:
1. Prepare xls file with 3 transactions to one account.
2. Import file.
3. Go to account with imported transactions.
4. Adjust/modify one of transactions.
5. Go to Admin tab, 'Undo imported files' page.
6. Click on 'Undo import' link.

Expected result:
Validation message appears that transactions from this account cannot be undone because they were modified/adjusted manually on the account.

Actual result:
It is possible to undo the whole import and as a result account has the same balance as after adjusting/modifying one transaction on the account and other 2 transactions are not adjusted.

Environment

hudson-head-j-release-archive-15

Activity

Show:
Jakub Podeszwik
September 21, 2012, 7:58 AM

Fixed in commit: 6767aff2627eb1c6fc3a0db800546f490f61bacf
Build number: head-j-release-commit- #28

Natalia Szpręga
October 19, 2012, 12:15 PM

I can not verify this ticket. There is need to fix first.

Kasia Piecielska
October 26, 2012, 8:03 AM

was fixed, so this ticket can be tested.

Kasia Piecielska
October 26, 2012, 2:09 PM

Bug has been fixed properly.

Build Date Tue Oct 23 09:06:19 PDT 2012
Build Number hudson-head-j-release-archive-41

Assignee

Jakub Podeszwik

Reporter

Lukasz Chudy

Labels

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Time tracking

0m

Time remaining

6h

Components

Fix versions

Affects versions

Priority

Major
Configure