Bug 431101 - Program crashes while editing the transaction
Summary: Program crashes while editing the transaction
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-03 11:32 UTC by Suresh PB
Modified: 2024-04-08 17:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Error screenshot (61.59 KB, image/png)
2021-01-03 11:32 UTC, Suresh PB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Suresh PB 2021-01-03 11:32:17 UTC
Created attachment 134506 [details]
Error screenshot

SUMMARY
While editing a transaction got error, "Uncaught error, please report to the developers.".  Details: Unknown account id

Attached screenshot.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
This is an imported transaction.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Suresh PB 2021-01-03 11:35:19 UTC
Able to update the category, but updating the "From" causes the error.
Comment 2 Thomas Baumgart 2021-01-03 12:28:13 UTC
Please provide some version information. Changing 'From' changes the payee, but KMyMoney complains about an unknown account. Maybe it got imported as part of a category (which should not happen in the first place). Can you change the category in a first step, save the transaction and then edit the payee?
Comment 3 Suresh PB 2021-01-03 12:35:03 UTC
(In reply to Thomas Baumgart from comment #2)
> Please provide some version information. Changing 'From' changes the payee,
> but KMyMoney complains about an unknown account. Maybe it got imported as
> part of a category (which should not happen in the first place). Can you
> change the category in a first step, save the transaction and then edit the
> payee?

Version 5.1.0-e37bac5ab
Tried saving the imported "From" as is.  This works fine.  While editing the "From" the program crashes.
Comment 4 Thomas Baumgart 2021-01-03 14:25:28 UTC
Can you try to follow the instructions on https://docs.kde.org/stable5/en/extragear-office/kmymoney/details.formats.anonymous.html and check that the problem persists with this anonymous file? If so, you can forward a zipped version to me as private mail for further analysis.
Comment 5 Suresh PB 2021-01-04 06:03:55 UTC
(In reply to Thomas Baumgart from comment #4)
> Can you try to follow the instructions on
> https://docs.kde.org/stable5/en/extragear-office/kmymoney/details.formats.
> anonymous.html and check that the problem persists with this anonymous file?
> If so, you can forward a zipped version to me as private mail for further
> analysis.

I could create anonymous format, but couldn't replicate as the data is no longer readable.
Comment 6 Suresh PB 2021-01-04 06:07:24 UTC
(In reply to Suresh PB from comment #5)
> (In reply to Thomas Baumgart from comment #4)
> > Can you try to follow the instructions on
> > https://docs.kde.org/stable5/en/extragear-office/kmymoney/details.formats.
> > anonymous.html and check that the problem persists with this anonymous file?
> > If so, you can forward a zipped version to me as private mail for further
> > analysis.
> 
> I could create anonymous format, but couldn't replicate as the data is no
> longer readable.

Tried the following:
1. Navigated to the Payee from Ledger
2. Renamed and Merged with intended Payee
3. The transaction is now editable without any issues.