Revision cad7ecb...
Go back to digest for 1st September 2013Bug Fixes in Office
Cristian Oneț committed changes in [kmymoney] /:
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.
File Changes
Modified 3 files
- kmymoney/reports/pivottable.cpp
- kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
- kmymoney/mymoney/storage/mymoneystoragesql.cpp
3 files changed in total