https://bugs.kde.org/show_bug.cgi?id=455470
Bug ID: 455470 Summary: Some split transactions in an account in a foreign currency cannot be edited or deleted Product: kmymoney Version: 5.1.2 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: file Assignee: kmymoney-devel@kde.org Reporter: kmymo...@boz.33mail.com Target Milestone: --- I have been using KMM for a couple of years. My KMM data file has several foreign currency accounts as well as accounts in my base or default currency. Transactions from before 2020 were imported from Quicken. This week I began editing transactions where the foreign currency conversion rate was set at 1:1 which causes errors in reports (see report for bug 455171). I have successfully updated the conversion rates for all transactions in a current account for over two years from 1999, but now I have found transactions that I cannot edit. These are split transactions, each split into eight component sub-transactions. They occur every month, so I have already processed about 26 of these split transactions with earlier dates, but all the ones following that I have tried cannot be edited. Other transactions in this account, including other split transactions, can still be edited, both from earlier and later dates. I wondered if deleting the transaction that cannot be edited and replacing it with an equivalent transaction would help, but the transactions that cannot be edited cannot be deleted either. STEPS TO REPRODUCE 1. Open the KMM data file and the foreign currency current account which has several years of imported transactions with currency conversion rates to be updated 2. Start with the first month. (Dealing with one month at a time keeps things manageable.) Open each split transaction in turn to edit the splits. (Update each memo field in turn with something trivial and save, which brings up the exchange rate editor. Update the exchange rate and save. Continue for all relevant split elements. Save the split transaction.) 3. When the split transactions for the month have been done, select all remaining transactions for the same month that are not split and are not transfers between accounts in the same currency. Click 'edit' and 'save'. This brings up the exchange rate editor for all the selected transactions in turn. Update the exchange rates and save. 4. Go on to the next month if one is available. OBSERVED RESULT After processing 26 months of transactions I found a split transaction that cannot be edited or deleted. It can be opened and the splits can be displayed but nothing can be edited. With the transaction highlighted I can right-click to see the pop-up menu. There are 15 menu items but only the first three and the 8th to 12th items are available, the rest are greyed out. The first three includes 'edit' and 'edit splits' but neither works because nothing can be edited and the only option available after selecting either is to cancel or discard. I have closed KMM and opened it again. The problem remains. There does not appear to be anything wrong with the file. The 'Consistency Check' tool finds nothing wrong. I have found the same problem with all subsequent instances of this transaction I have tried. (It may be irrelevant, but note these transactions have more split elements than other split transactions in this account, so maybe KMM has some limit on what it can handle.) EXPECTED RESULT Edit the transactions and update exchange rates in the same way I edited the same transactions from earlier months. SOFTWARE/OS VERSIONS Windows: Windows 10 Pro Version 21H2 Installed on 2020-06-02 OS build 19044.1706 Experience Windows Feature Experience Pack 120.2212.4170.0 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.93 Qt Version: 5.15.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are the assignee for the bug.