| Summary: | Duplicated entries in generated kmymoney xml file | ||
|---|---|---|---|
| Product: | [Applications] kmymoney | Reporter: | Ralf Habacker <ralf.habacker> |
| Component: | file | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git (master) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | All | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 498416 | ||
| Attachments: | test file | ||
|
Description
Ralf Habacker
2025-01-09 10:11:58 UTC
> Created attachment 177224 [details] > The xml tag <LAST_MODIFIED_DATE> is duplicated in the <KEYVALUEPAIRS> tag In fact the key is different, but the value is the same > and with a correction for the bug 498416 also the <FIXVERSION>. here the key is really duplicated. The reason for this is usually some form of backward compatibility. And since it does not hurt, I don't want to touch it right now. Git commit bf9eceb8baef59f704632c34064105532aa1b792 by Ralf Habacker. Committed on 18/01/2025 at 17:17. Pushed by habacker into branch 'master'. Add workaround for writing key value container into xml file Without this workaround, a tag that is located in the FILEINFO tag is duplicated in the KEYVALUEPAIRS tag. M +4 -1 kmymoney/plugins/xml/mymoneyxmlwriter.cpp https://invent.kde.org/office/kmymoney/-/commit/bf9eceb8baef59f704632c34064105532aa1b792 Git commit 4bc12e2aee51167a817db3f9b3d45275cabbbb93 by Ralf Habacker. Committed on 21/01/2025 at 19:01. Pushed by habacker into branch 'master'. Add member fileInfoModel to class MyMoneyFile The newly introduced member contains information about the imported file or database in contrast to the 'kmm-*' key/values pairs contained in member parametersModel. M +2 -2 kmymoney/dialogs/kmymoneyfileinfodlg.cpp M +11 -3 kmymoney/mymoney/mymoneyfile.cpp M +5 -0 kmymoney/mymoney/mymoneyfile.h M +2 -2 kmymoney/mymoney/storage/mymoneystoragedump.cpp M +1 -1 kmymoney/plugins/sql/mymoneydbdef.cpp M +1 -3 kmymoney/plugins/xml/mymoneyxmlreader.cpp M +5 -5 kmymoney/plugins/xml/mymoneyxmlwriter.cpp M +9 -8 kmymoney/plugins/xml/tests/mymoneyxmlreader-test.cpp https://invent.kde.org/office/kmymoney/-/commit/4bc12e2aee51167a817db3f9b3d45275cabbbb93 |