Bug 513323

Summary: Adding a new metadata template overwrites existing one
Product: [Applications] digikam Reporter: tba22333 <tba22333>
Component: Metadata-TemplateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:

Description tba22333@tpg.com.au 2025-12-13 22:37:06 UTC
When I would like to create a new template similar to an existing one, I would select the existing template, edit the Title and relevant metadata then click the [+Add] button, but it ends up replacing the existing one as well as creating a new one, so you end up with two copies of the same template and lose the existing one.
Comment 1 Maik Qualmann 2025-12-17 11:40:20 UTC
Git commit ea9ba887e36628ba9f9769a13528e5644987534a by Maik Qualmann.
Committed on 17/12/2025 at 11:39.
Pushed by mqualmann into branch 'master'.

fix adding template from existing template
FIXED-IN: 8.9.0

M  +1    -1    NEWS
M  +2    -1    core/utilities/setup/setuptemplate.cpp

https://invent.kde.org/graphics/digikam/-/commit/ea9ba887e36628ba9f9769a13528e5644987534a