SUMMARY I have a number of transactions with no category assigned. When I save KMM these trigger a Consistency Error saying the sum of the splits on those transactions are not zero, which is not true - there are no splits. STEPS TO REPRODUCE 1. Create a transaction with no category assigned 2. Save the file OBSERVED RESULT Consistency Check saying the sum of the splits on the transaction are not zero EXPECTED RESULT No consistency check message (as per version 5.1.3), or if unassigned category is really a consistency error, a message saying something like "Category Unassigned". SOFTWARE/OS VERSIONS KMyMoney: 5.1.80 Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7
Actually, there ARE splits - but only one, and so the transaction is not balanced. A normal, non-split transaction actually has two splits: one for the money moving in or out of the account, and the other for where the money went to or came from, usually a category, but another account in case the transaction is a transfer. This is an unfortunate confusion based on use of the term "split." I believe that warning was added to the consistency check to catch a different type of problem, but it also catches these. I suppose you can think of this as a side effect of KMM essentially enforcing double-entry bookkeeping, and also the use of Accounts to represent Categories internally. Within a transaction, all funds coming from somewhere also have to go somewhere. What is your use case for having transactions without a category? In my experience, almost all such transactions have been imported and not yet accepted.
Thanks for your explanation Jack, I hadn't thought of the two ends of a transaction being "splits". I can now see why uncategorised transactions are "unbalanced". Maybe it should be in the manual if it isn't already. My use case is that I have some old transactions which are uncategorised, in accounts that are now closed, that hadn't been bothering me with 5.1.3 because they didn't raise a consistency error, and I don't remember what they were for so I don't know what category to assign to them. Some of them were imported and not accepted, though accepting them doesn't of itself assign a category. I guess I could add a "Don't Know" category just to suppress the consistency report I can imagine this being raised again and again when more people start using this version of KMM Sorry for raising a bug for something that is just my misunderstanding, feel free to close this as RESOLVED/INTENTIONAL
I have several "misc" categories (under different higher level grouping categories) for just that sort of reason. I'll check the manual again, but I'm pretty sure it is mentioned.