https://bugs.kde.org/show_bug.cgi?id=415548
Bug ID: 415548 Summary: The character < as part of a matched transaction which was imported causes load to fail Product: kmymoney Version: 5.0.7 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: file Assignee: kmymoney-de...@kde.org Reporter: tbaumg...@kde.org Target Milestone: --- SUMMARY If an imported transaction contains the character < with some following text (thus looking like an XML tag) as part of the memo field and this transaction is matched against another one on file but not accepted and the file is saved in this state it cannot be loaded anymore. STEPS TO REPRODUCE 1. Create a sample file with two accounts A and B 2. Create a transaction from account A to B and the text "TEST <TEST" as memo (w/o the quotes) 3. Save the file as XML 4. Modify the transaction in an editor to have the transaction memo attribute the contents of the split memo attribute and save the file (this is what the state after import is) 5. Restart KMyMoney 6. Duplicate the transaction 7. Select both and match them 8. Save the file 9. Reload the file -> Boom OBSERVED RESULT File fails to load EXPECTED RESULT File is loaded without data loss ADDITIONAL INFORMATION If you skip steps 3..5 above one can load the file but information about the matched transaction is lost. The cause is the same: escaping of XML content does not work properly. This has first been reported on https://forum.kde.org/viewtopic.php?f=69&t=163735 -- You are receiving this mail because: You are watching all bug changes.