Bug 431101

Summary: Program crashes while editing the transaction
Product: [Applications] kmymoney Reporter: Suresh PB <spillaip>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Error screenshot

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.