Bug 417973

Summary: Lost aqpaypal assignments after migrating from aqbanking5
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: onlinebankingAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.0.8   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 426400    

Description Ralf Habacker 2020-02-21 08:36:15 UTC
STEPS TO REPRODUCE
1. Download a kmymoney5 snapshot for Windows from https://kmymoney.org/snapshots.php
2. start kmymoney and load a file with an assigned aqpaypal account from a kmymoney 4 installation
3. try to update the assigned aqpaypal account by right clicking on Account in the account list and selecting Update Account.

OBSERVED RESULT
The account could not be updated

EXPECTED RESULT
It should be possible to update the assigned account

SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.7

ADDITIONAL INFORMATIONS
1. aqbanking-cli shows the migrated account, and the balances could be retrieved on the command line with aqbanking-cli request --aid=xxx --balance
Comment 1 Ralf Habacker 2020-02-24 07:54:52 UTC
Say you have mapped an account created with kmymoney 4.8 (which uses aqbanking 5) then in the kmymoney file inside the account tag there is the following ONLINEBANKING
   <ONLINEBANKING provider="kbanking" kbanking-acc-ref="PAYPAL-xxx@yyy.de" kbanking-statementDate="0"/>

If you map a paypal account with kmymoney5 you will have in the kmymoney file
   <ONLINEBANKING provider="kbanking" kbanking-acc-ref="PAYPAL-xxx@yyy.de-100" kbanking-statementDate="0"/>

which means the former mapping is not known by kmymoney.
Comment 2 Thomas Baumgart 2024-04-09 05:41:04 UTC
This is due to https://invent.kde.org/office/kmymoney/-/commit/72abb79e and does affect all accounts not only the Paypal ones. The workaround is to remap the accounts.