<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>513323</bug_id>
          
          <creation_ts>2025-12-13 22:37:06 +0000</creation_ts>
          <short_desc>Adding a new metadata template overwrites existing one</short_desc>
          <delta_ts>2025-12-25 10:54:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Metadata-Template</component>
          <version>8.8.0</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="tba22333@tpg.com.au">tba22333</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/ea9ba887e36628ba9f9769a13528e5644987534a</cf_commitlink>
          <cf_versionfixedin>9.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2476743</commentid>
    <comment_count>0</comment_count>
    <who name="tba22333@tpg.com.au">tba22333</who>
    <bug_when>2025-12-13 22:37:06 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2477579</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2025-12-17 11:40:20 +0000</bug_when>
    <thetext>Git commit ea9ba887e36628ba9f9769a13528e5644987534a by Maik Qualmann.
Committed on 17/12/2025 at 11:39.
Pushed by mqualmann into branch &apos;master&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>