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

Cristian Oneț <onet.crist...@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.crist...@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.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to