[kmymoney] [Bug 390979] securities have changed into currency

Thomas Baumgart bugzilla_noreply at kde.org
Sat Feb 24 12:18:48 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=390979

Thomas Baumgart <tbaumgart at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|NOR                         |HI
           Severity|normal                      |grave
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #1 from Thomas Baumgart <tbaumgart at kde.org> ---
This seems to be the requested follow-up to #390044. I keep the reference here,
as it contains a specific commit (5.0.80-7150b4a5) that might be related to the
problem.

In fact, this might be a problem on current git master which changes your data
(I have seen the same here in my data and cannot experience the problem in the
5.0 branch).

So it is very likely that master is currently broken in the investment storage
area. Here's what I have done. I opened a file written with 5.0 (where
investments are shown correctly) in master and I see, that the file is modified
without me doing anything. Saving the file and comparing it shows the following
effect (besides others which are not causing trouble):

in the file written by 5.0 I see:

<ACCOUNT number="" opened="2002-01-01" description="" type="15"
lastmodified="2018-02-20" id="A000113" institution="" lastreconciled=""
name="xxx" parentaccount="A000112" currency="E000001">

and the same record in the file written by master shows as

<ACCOUNT lastmodified="2018-02-20" description="" currency="EUR"
lastreconciled="" type="15" institution="" number="" name="xxx"
opened="2002-01-01" parentaccount="A000112" id="A000113">

The order of the attributes is not a problem, but the modification of the
currency attribute is causing the trouble and explains what the OP sees.

The file contents must be fixed manually (reverting the currency assignment)
and master is currently broken for that. I adjusted the importance of this
entry accordingly.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list