After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 592569 - #454827 bug appears to have reoccured where in advanced portfolio the value does not change with currency fluctuation but basis does
#454827 bug appears to have reoccured where in advanced portfolio the value d...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.4.x
Other Windows
: Normal major
: ---
Assigned To: gnucash-reports-maint
gnucash-reports-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-21 12:19 UTC by Brett Smith
Modified: 2018-06-29 22:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brett Smith 2009-08-21 12:19:54 UTC
Bug #454827 fixed in version 2.2.7 has reoccured in version 2.2.9 and may still be in the 2.3.3 but can not be verified due to other currency issues with the GUI. 

Changing currency is causing the basis to change which should be constant.
Changoing currency does not affect current value but should.
Comment 1 Brett Smith 2010-03-23 12:55:41 UTC
This is still occuring in the latest version of Gnucash. The "advanced portfolio" report becomes invalid unless only using only local currency.
Comment 2 Brett Smith 2010-12-29 12:56:16 UTC
Currency issues still unresolved 2.4.0
Comment 3 Brett Smith 2011-01-05 22:11:06 UTC
Relaized and unrealized gains now also in error. They appear to include the money out not just the gains. I suggest double checking all the formula on this excellent report.

best regards 

Brett
Comment 4 Carsten Rinke 2013-04-20 06:48:22 UTC
Could it be the fix fir 454827 needs to be ported to 2.4 / 2.5 ?
Comment 5 Carsten Rinke 2013-04-24 08:45:38 UTC
I run the data file from Bug #454827 with GnuCash 2.5.0 on Ubuntu 12.04.

The Advanced Portfolio Report still shows the described misbehavior:

- the currency is calculated incorrectly.
  Should: EUR 918.37
  Actual: EUR 918.51
  (note that this behaviour does NOT show up in the Investment Portfolio Report)

- The Realized Gain show unexpected results
  Realized Gains
  Should: 0 because nothing was sold
  Actual: same as Basis

The Status of this bug should be set to NEW.
Comment 6 Mike Alexander 2014-01-20 05:11:51 UTC
The problem in comment 5 was due to a rounding problem in the code that does conversions between commodities and currencies.  See Bug #454827 for more info.  I checked in a fix.  I believe the other problems described here have been fixed in the changes to the Advanced Portfolio report that I checked in today.   If you think they are not fixed, let me know.
Comment 7 John Ralls 2018-06-29 22:26:57 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=592569. Please update any external references or bookmarks.