[kmymoney] [Bug 498419] New: Duplicated entries in generated kmymoney xml file

Ralf Habacker bugzilla_noreply at kde.org
Thu Jan 9 10:11:58 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=498419

            Bug ID: 498419
           Summary: Duplicated entries in generated kmymoney xml file
    Classification: Applications
           Product: kmymoney
           Version: git (master)
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: file
          Assignee: kmymoney-devel at kde.org
          Reporter: ralf.habacker at freenet.de
            Blocks: 498416
  Target Milestone: ---

Created attachment 177224
  --> https://bugs.kde.org/attachment.cgi?id=177224&action=edit
test file

SUMMARY
A generated kmymoney-xml file contains a <FILEINFO> and a <KEYVALUEPAIRS> tag,
as shown below:

<KMYMONEY-FILE>
  <FILEINFO>
    <CREATION_DATE date=“”/>
    <LAST_MODIFIED_DATE date=„2024-09-09T22:58:54+02:00“/>
    <VERSION id=“1”/>
    <FIXVERSION date=“”/>
    <APPVERSION id=„5.1.80-a82f24b57“/>
  </FILEINFO>
...

  <KEYVALUEPAIRS>
    <PAIR key=„LastModificationDate“ value=„2024-09-09T22:58:54+02:00“/>
    <PAIR key=“kmm-baseCurrency” value=“USD”/>
    <PAIR key=„kmm-id“ value=„{1bc5425b-d897-4dea-a489-2db5abd97368}“/>
  </KEYVALUEPAIRS>
</KMYMONEY-FILE>

This file contains duplicate xml tags as described below.

STEPS TO REPRODUCE
1. open the attached kmymoney file
2. check the contained xml tag <FILEINFO> 

OBSERVED RESULT
The xml tag <LAST_MODIFIED_DATE> is duplicated in the <KEYVALUEPAIRS> tag and
with a correction for the bug 498416 also the <FIXVERSION>.

EXPECTED RESULT
No xml tags from the <FILEINFO> tag should be duplicated in the <KEYVALUEPAIRS>
tag.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=498416
[Bug 498416] File information tag is not updated correctly
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list