[Kmymoney-devel] Review Request: Prices: search reciprocal value before searching previous dates

Alvaro Soliverez asoliverez at kde.org
Sun Apr 29 19:05:30 UTC 2012

This is an automatically generated e-mail. To reply, visit:

Review request for KMymoney and Thomas Baumgart.


There may be cases where only the reciprocal value for a given date is present, but if there is a price for a previous date, the latter will be used instead.
The fix here intends to use the most accurate value, which is the one in the exact date, even if it's the reciprocal one.

There might be performance issues. Perhaps a price cache should be considered in the future.

This addresses bug 297437.


  kmymoney/mymoney/mymoneyfile.cpp eef7126 

Diff: http://git.reviewboard.kde.org/r/104786/diff/


Ran reports where this case is present, and unit tests.
There was no noticeable performance problem, but the set of prices was normal.


Alvaro Soliverez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20120429/d1a4be3e/attachment.html>

More information about the KMyMoney-devel mailing list