Bug 370224

Summary: Exported templates does not have any title and description
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 4.8.1,5.0.0
Bug Depends on:    
Bug Blocks: 347037    

Description Ralf Habacker 2016-10-06 22:45:37 UTC
While working on bug 290473 it turned out that exported templates does not have any title, short and long description included. It would be nice to 

Reproducible: Always

Steps to Reproduce:
1. start kmymoney
2. create new file or export file as template
3. Inspect exported template file

Actual Results:  
The exported template file contains empty title, short and long description.

Expected Results:  
The user should be able to setup template title, short and long description before exporting.
Comment 1 Ralf Habacker 2016-10-06 23:46:49 UTC
Supporting these attributes looks very imported because with bug 290473 implemented it is now easy to list several exported templates into the template import dialog without being able to distinct them. Templates listed in the template import dialog are distinct by title and descriptions which is empty until this bug has been fixed.
Comment 2 Ralf Habacker 2017-05-25 10:03:34 UTC
Git commit dc0351fb5d28e1f6aafee0f08e8d6911311ac01d by Ralf Habacker.
Committed on 25/05/2017 at 10:03.
Pushed by habacker into branch '4.8'.

Fix 'Exported templates does not have any title and description'.
REVIEW: 129116

M  +21   -0    kmymoney/converter/mymoneytemplate.cpp
M  +4    -0    kmymoney/converter/mymoneytemplate.h
M  +2    -0    kmymoney/dialogs/CMakeLists.txt
A  +45   -0    kmymoney/dialogs/ktemplateexportdlg.cpp     [License: GPL (v2+)]
A  +42   -0    kmymoney/dialogs/ktemplateexportdlg.h     [License: GPL (v2+)]
A  +100  -0    kmymoney/dialogs/ktemplateexportdlg.ui
M  +11   -3    kmymoney/kmymoney.cpp

https://commits.kde.org/kmymoney/dc0351fb5d28e1f6aafee0f08e8d6911311ac01d