Bug 498416

Summary: File information tag is not updated correctly
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: fileAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 498419    
Bug Blocks:    
Attachments: test file

Description Ralf Habacker 2025-01-09 08:59:52 UTC
Created attachment 177222 [details]
test file

SUMMARY
KMyMoney supports a possibility to correct special errors in a KMyMoney file during loading. The “id” attribute of the KMYMONEY-FILE:FILEINFO:FIXVERSION xml tag is used for this purpose. Due to a programming error, this value is not generated, which means that the status of the file cannot be determined and possible corrections are not carried out.

STEPS FOR REPRODUCTION
1. open the attached test file
2. check the xml tag KMYMONEY-FILE:FILEINFO:FIXVERSION

OBSERVED RESULT
The tag mentioned contains a date attribute

    <FIXVERSION date=“5”/>

but in the source code, “id” is expected to be present

EXPECTED RESULT
The mentioned tag should contain an id attribute instead as shown below

 <FIXVERSION id=“5”/>

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