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

--- Comment #22 from Ralf Habacker <[email protected]> ---
Git commit 402c475d9e8cae3b70c17d352153c8661036f259 by Ralf Habacker.
Committed on 21/08/2026 at 10:39.
Pushed by habacker into branch 'master'.

Fix a regression when saving a transaction

After processing a transaction—for example, one loaded
from the test report file “test-transaction.xml”, the
system attempts to retrieve every report from the
MyMoneyFile instance; however, built-in reports have
an empty ID and should not be retrieved in this manner.

The important clue is this sequence:

NewTransactionEditor::saveTransaction()
  -> MyMoneyFile::commitTransaction()
  -> MyMoneyFile::storageTransactionEnded()
  -> KReportsView::slotUpdateConfiguration()
  -> KReportConfigurationFilterDlg::loadReport()
  -> KReportConfigurationFilterDlg::slotReset()

The value “ExpenseIncome” for the column type mentioned in
the error report is a symptom of this faulty query.

Fixup for commit 0ad7250e6.

M  +16   -13   kmymoney/plugins/views/reports/kreportsview.cpp

https://invent.kde.org/office/kmymoney/-/commit/402c475d9e8cae3b70c17d352153c8661036f259

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to