[Kmymoney-devel] [kmymoney4] [Bug 312676] Crash when creating a report
Cristian Oneț
onet.cristian at gmail.com
Fri Aug 30 10:35:10 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=312676
Cristian Oneț <onet.cristian at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/kmym
| |oney/cad7ecbccda1d2b96122bd
| |1fb8bb4a37d6c4f8e9
--- Comment #11 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit cad7ecbccda1d2b96122bd1fb8bb4a37d6c4f8e9 by Cristian Oneț.
Committed on 30/08/2013 at 10:25.
Pushed by conet into branch 'master'.
Fix a crash in reports using the mysql storage backend.
This crash was caused by the fact that the report, after requesting
the transaction list, did not check that the transactions are inside
the requested date interval. Since the date is used to compute an
index in a columns list a date outside the requested interval would
cause an invalid index to be computed and causing the crash.
Now the report performs a validity check of the date after filtering
the transactions.
Also fixed the SQL backend implementation to properly filter by dates
even if an empty split filter is provided. Also added a testcase for
this scenario.
M +15 -0 kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
M +2 -2 kmymoney/mymoney/storage/mymoneystoragesql.cpp
M +7 -3 kmymoney/reports/pivottable.cpp
http://commits.kde.org/kmymoney/cad7ecbccda1d2b96122bd1fb8bb4a37d6c4f8e9
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list