Bug 280897 - Unit wont set on mt940 import when there are existing operations
Summary: Unit wont set on mt940 import when there are existing operations
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 20:35 UTC by jens
Modified: 2011-08-27 21:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jens 2011-08-27 20:35:19 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

Skrooge 0.9.1

My bank offers mt940 downloads. The initial import worked fine, but the amount is always 0,00 when running a second import from a newer period. On a second look the amount is actually set, but the unit (Euro in my case) is not. Manually setting the unit on the new operations is a workaround (but then you will run into the issue with the group delimiter as described here: http://forum.kde.org/viewtopic.php?f=210&t=96606).

Reproducible: Always

Steps to Reproduce:
1. Do an mt940 import.
2. Do a second mt940 import on the same account. You should see a notification like "The initial balance of '%1' has not been set because some operations are already existing"

Actual Results:  
The amount is 0,00 in the list of operations on the imported operations from step 2. In the detail section you will see that the amount is correct but the unit isn't set.

Expected Results:  
The among and unit should be filled in correctly on all operations
Comment 1 Stephane MANKOWSKI 2011-08-27 21:13:57 UTC
Git commit 9d3ab618e528fcbf1ebcaed9eb46714f3e968af6 by Stephane Mankowski.
Committed on 27/08/2011 at 23:13.
Pushed by smankowski into branch 'Feature'.

BUG: 280897: Unit wont set on mt940 import when there are existing operations

M  +27   -0    tests/skgbankmodelertest/skgtestimportmt940.cpp
M  +3    -4    plugins/import/skrooge_import_mt940/skgimportpluginmt940.cpp
M  +1    -0    CHANGELOG

http://commits.kde.org/skrooge/9d3ab618e528fcbf1ebcaed9eb46714f3e968af6