<?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>268688</bug_id>
          
          <creation_ts>2011-03-16 21:47:33 +0000</creation_ts>
          <short_desc>Write metadata to all images does not remove obsolete tags</short_desc>
          <delta_ts>2017-08-12 21:22:25 +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-Hub</component>
          <version>3.3.0</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</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>1</everconfirmed>
          <reporter name="Mark Fraser">mfraz74+kde</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>ajg02</cc>
    
    <cc>althio.forum</cc>
    
    <cc>bugs</cc>
    
    <cc>caulier.gilles</cc>
    
    <cc>elle</cc>
    
    <cc>gauthierde</cc>
    
    <cc>harry</cc>
    
    <cc>jan-peter.meyer</cc>
    
    <cc>kde</cc>
    
    <cc>lb.kdebugzilla</cc>
    
    <cc>linuxbrad</cc>
    
    <cc>mail4ilia</cc>
    
    <cc>mbc</cc>
    
    <cc>net</cc>
    
    <cc>oldium.pro</cc>
    
    <cc>pittipatti</cc>
    
    <cc>px79</cc>
    
    <cc>sven-kdebug</cc>
    
    <cc>terri.bugs</cc>
    
    <cc>veaceslav.munteanu90</cc>
    
    <cc>wl-chmw</cc>
          
          <cf_commitlink>http://commits.kde.org/digikam/e15b54f988db686994dea2c1711d80dbf5c8c45d</cf_commitlink>
          <cf_versionfixedin>3.4.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>346</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1097804</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Fraser">mfraz74+kde</who>
    <bug_when>2011-03-16 21:47:33 +0000</bug_when>
    <thetext>Version:           1.9.0 (using KDE 4.5.5) 
OS:                Linux

I&apos;ve recently changed the way I tag people in photos so that they include the full name, but when I try to write the data back to the photos, the old tags are still in the IPTC and XMP metadata and there doesn&apos;t seem to be any way of removing it.

Reproducible: Always

Steps to Reproduce:
Rename/move a tag and then use Tools &gt; write metadata to all images.

Actual Results:  
Old tags are still visible in the images.

Expected Results:  
Any tags not required anymore should be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098047</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2011-03-17 09:01:03 +0000</bug_when>
    <thetext>Marcel,

I&apos;m sure that we have already work on this problem in the past. At least me, if i remember...

There is 2 situations :

1/ To have Tags recorded to item metadata exactly as digiKam database (This is my case). It&apos;s typically the case of user only use digiKam to manage items.

2/ To preserve old tags already assigned to image with another photo-management program. Typically, tags are created to DB when image are imported. Sometime, people want that digiKam do not touch to old tags.

For me, the case 2/ is very dangerous. DB and item metadata are not synchronized properly...

I resume fine the situation ?

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098120</commentid>
    <comment_count>2</comment_count>
    <who name="Mikkel Christensen">mbc</who>
    <bug_when>2011-03-17 12:31:02 +0000</bug_when>
    <thetext>Gilles, you summarize very well. However, I think it is very dangerous to assume that digikam is the user&apos;s only image tool.
And I think there will always be metadata in images that digikam doesn&apos;t necessarily understand but that metadata needs to be preserved anyway.

If I understand Mark correctly, he is actively changing/renaming/deleting a tag and then he wants *that specific change* to be reflected in the metadata of the image. He doesn&apos;t want other metadata to be affected.

Best regards,
Mikkel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098125</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2011-03-17 12:48:07 +0000</bug_when>
    <thetext>ok. 

I will explain better indeep. Tags are stored in many places :

1/ IPTC keywords (name only, not path)
2/ XMP keywords (name only, not path) = IPTC keywords without ASCII char and strings size limitations 
3/ XMP digiKam namespace : full tag path.

For 1/ and 2/, they contents full history, and not reflect the exact database contents. Typically old keywords can be still assigned to image.

For 3/, it&apos;s THE dedicated place to store digiKam tag paths from database. This must be the exact copy of DB for backup. It&apos;s this point which is not fine currently. It&apos;s the current problem.

NOTE : what&apos;s keywords and tag paths :

for a digiKam tag as &quot;City/Paris/Monuments/Seine/Events&quot; with &quot;City&quot;, &quot;Monuments&quot;, and &quot;Events&quot; assigned to and item

=&gt; Keywords are : &quot;City&quot;, &quot;Monuments&quot;, and &quot;Events&quot;
=&gt; Tag Paths are : &quot;City&quot;, &quot;City/Paris/Monuments&quot;, and &quot;City/Paris/Monuments/Seine/Events&quot;

If this item is imported to a new computer with digiKam, by priority, tags will be created in database using :

1/ XMP digiKam namespace
2/ XMP keywords
3/ IPTC keywords

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1098173</commentid>
    <comment_count>4</comment_count>
    <who name="Mikkel Christensen">mbc</who>
    <bug_when>2011-03-17 15:57:54 +0000</bug_when>
    <thetext>Gilles, thank you very much for the thorough explanation. I understand it much better now. It also gives me some ideas for other feature requests, but they don&apos;t belong in this bug.

Best regards, Mikkel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1100155</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Fraser">mfraz74+kde</who>
    <bug_when>2011-03-22 21:25:40 +0000</bug_when>
    <thetext>Looks like I&apos;ve managed to remove obsolete tags from Xmp.dc.subject by using Image &gt; Metadata &gt; Edit XMP by manually editing every single photo in my collection, but there doesn&apos;t seem to be a way of editing Xmp.digiKam.TagsList without using exiv2 from the command line.

Which as I keep a copy of all images on at least 3 other computers and if Gilles is right by saying the import order is:
1/ XMP digiKam namespace
2/ XMP keywords
3/ IPTC keywords
Then another copy of DigiKam on another computer will always show the wrong tags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111054</commentid>
    <comment_count>6</comment_count>
    <who name="Marcel Wiesweg">marcel.wiesweg</who>
    <bug_when>2011-04-24 19:31:46 +0000</bug_when>
    <thetext>I remember a very old bug report about this situation. The problem is that we&apos;d need to record the change when the tag is renamed, possibly ask for confirmation that all images should be edited, and then edit all affected images. This is not implemented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1111056</commentid>
    <comment_count>7</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2011-04-24 19:37:30 +0000</bug_when>
    <thetext>Marcel, Yes, there is an old entry for this subject.

I suspect that it have been implemented and removed because another entry ask the oposite...

Why not to integrate an option to Metadata settings panel ?

For ex, i don&apos;t want to backup old tags in metadata. I want a pure copy of current tags from DB.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1113756</commentid>
    <comment_count>8</comment_count>
    <who name="Ilia K.">mail4ilia</who>
    <bug_when>2011-05-01 23:45:48 +0000</bug_when>
    <thetext>Hi,
I&apos;ve tried today to rename a tag and stumbled upon this bug (using digikam 2.0-beta4). After playing a little bit I&apos;ve found a workaround which should allow me to rename tags for multiple images at once without the tedious manual editing.

This may be interested to OP (Mark Fraser) and other users affected by the bug, as well as to developers as an example how renaming may be easily implemented on top of existing features.

In order to rename tag &quot;foo&quot; into &quot;bar&quot; do:
0. if tag &quot;bar&quot; doesn&apos;t exist, create one
   (e.g. choose in the main menu: &quot;Tag-&gt;New...&quot;)
1. in the main menu choose &quot;Browse-&gt;Tags&quot;.
   &quot;My Tags&quot; hierarchy is opened on the left
2. choose the existing &quot;foo&quot; tag.
   all files assigned this tag are displayed in the main view
3. select all files in the main view (Ctrl+A)
4. open &quot;Caption/tags&quot; right pane
5. choose (check) &quot;bar&quot; tag in &quot;My Tags&quot; tree in the right pane
6. uncheck &quot;foo&quot; tag in the same tree
7. press &quot;Apply&quot; in the right pane
8. in the main menu choose &quot;Image-&gt;Write Metadata to Selected Images&quot;.
   I&apos;m not sure whether this step is always required, since in my
   configuration metadata is written to files automatically.

I&apos;ve tested this workflow using digikam 2.0-beta4 as the only photo management software, using XMP sidecar.

BTW, this bug is relevant to tag *removal* and *move* as well:
- if you delete a tag which is assigned to some files, the tag is removed from DB, but not from these files.
- if you move the tag which is assigned to some files across tag hierarchy (e.g. foo/test_tag -&gt; bar/test_tag), DB is updated but not the file metadata. Actually, this is equivalent to regular tag renaming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1113758</commentid>
    <comment_count>9</comment_count>
    <who name="Ilia K.">mail4ilia</who>
    <bug_when>2011-05-01 23:49:27 +0000</bug_when>
    <thetext>The workflow I&apos;ve mentioned in comment #8 is far from being intuitive to the end user, so I propose to add the following behavior to digikam:

When user performs some change (delete/move/rename/something else?) in tags for the tag assigned to some files display a dialog like this:
-------------------------------------------------
You have requested to rename/move tag &quot;/People/Alice&quot; into &quot;/People/Bob&quot;.
&quot;/People/Alice&quot; is currently assigned to 42 files.
Do you want to update these files metadata or just the Digikam database?

| Update database only |
| Update database and files |
| Cancel |

[ ] Remember my decision
-------------------------------------------------
(in case of tag deletion the wording in the first line is a little bit different)

A new (drop-down 3-value list) option can be added under &quot;Settings-&gt;Metadata-&gt;Behavior-&gt;Common Metadata Actions&quot;, which will control the above dialog:

When changing properties of a tag assigned to files:
- update database only
- update database and files
- ask me
With default to &quot;ask me&quot;.

When user uncheck the option &quot;Save image tags as &quot;Keywords&quot; tags in metadata embedded in files&quot; the new option (the proposed one) can be grayed out and the dialog won&apos;t be displayed at all, since the user don&apos;t want to touch tags in file&apos;s metadata at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1126305</commentid>
    <comment_count>10</comment_count>
    <who name="">terri.bugs</who>
    <bug_when>2011-06-02 12:12:09 +0000</bug_when>
    <thetext>I would very much like to see this implemented as proposed by Ilia in Comment #9. The ability to write changes in tag hierarchy to all the images affected, would simplify things nicely.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1141024</commentid>
    <comment_count>11</comment_count>
    <who name="Leif Huhn">lb.kdebugzilla</who>
    <bug_when>2011-07-12 14:39:52 +0000</bug_when>
    <thetext>Shouldn&apos;t DigiKam just remove the tag from the file?  If I didn&apos;t want DigiKam removing tags, I would tell it not to write metadata to the files.

From reading the code, I think this is what DigiKam will do:

1. Add image already tagged Person/Alice
2. Close DigiKam.  Open another program and tag the image with Person/Bob
3. Close other program.  Open DigiKam.  Tag Person/Charles.  Write the metadata.
DigiKam won&apos;t delete Person/Bob.  That&apos;s good!
4. Remove Person/Alice.  Write metadata.
DigiKam won&apos;t delete Person/Alice.  That&apos;s bad.

However, if I ever delete a tag in the DigiKam UI _and_ I have DigiKam set to write metadata, I expect the tag to be deleted.  If I didn&apos;t want to write metadata I would tell DigiKam not to write metadata at all.

I don&apos;t think DigiKam should prompt the user if they should write the metadata to the file when they remove a tag (there are already many options for what kind of metadata we should write to the file in the settings menu).

When DigiKam decides whether to write data in MetadataHub, we have in loadTags:

    // Those tags which had been set as MetadataAvailable before,
    // but are not contained in this set, have to be set to MetadataDisjoint

That means the change won&apos;t be written to the file.

What I think we need is a marker in the DigiKam DB that the tag was explicitly removed.  So DigiKam would have a record that the tag does not exist because the user removed it inside DigiKam.  Then we can avoid removing Person/Bob in the example but know to remove Person/Alice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1141035</commentid>
    <comment_count>12</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2011-07-12 15:08:20 +0000</bug_when>
    <thetext>Leif,

Well, this bug come back periodically in bugzilla, into 2 different forms:

- Some peoples want to add new tags in image and not to remove older one (similar to a backup or a versioning of tags)

- Other peoples, like me, want to have a strictly synchronization between tags from DB and tags registered to image. This must be the default value.

To solve definitively this problem, an option must be added to setup/metadata. 

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1200822</commentid>
    <comment_count>13</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2011-12-17 09:21:07 +0000</bug_when>
    <thetext>Mark,

This file still valid using digiKam 2.4 ?

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1201254</commentid>
    <comment_count>14</comment_count>
    <who name="">harry</who>
    <bug_when>2011-12-18 03:58:43 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256453</commentid>
    <comment_count>15</comment_count>
    <who name="Marcel Wiesweg">marcel.wiesweg</who>
    <bug_when>2012-05-19 11:22:03 +0000</bug_when>
    <thetext>*** Bug 288842 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257092</commentid>
    <comment_count>16</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2012-05-21 21:24:24 +0000</bug_when>
    <thetext>*** Bug 300407 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1257283</commentid>
    <comment_count>17</comment_count>
    <who name="">harry</who>
    <bug_when>2012-05-22 11:04:02 +0000</bug_when>
    <thetext>This is a seriouse bug and the main reason that I have to use Windows (and Windows Live Photo Gallery) every now and again, is there any updates on when this might be fixed?
At the moment I can only use digikam to view my photos not edit the metadata due to this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1264143</commentid>
    <comment_count>18</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2012-06-10 10:22:04 +0000</bug_when>
    <thetext>Bump</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1276900</commentid>
    <comment_count>19</comment_count>
    <who name="Patrick Scharrenberg">pittipatti</who>
    <bug_when>2012-07-17 14:42:02 +0000</bug_when>
    <thetext>Regardless of the suggested switch for strong synchronisazion for the various metadata keys in the settings dialog, I would expect DigiKam to strongly synchronize the DB content to the key Xmp.digiKam.TagsList in the digikam namespace of xmp, if metadata export is enabled. 
This includes changes to all affected files when renaming/reoranizing tags.
Otherways there is no way to reliably reconstruct this information in case of an incident to the DB and the people who use this feature would loose much time (they spent into tagging) and faith in this software.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1283974</commentid>
    <comment_count>20</comment_count>
    <who name="Mårten Jansson">net</who>
    <bug_when>2012-08-12 07:15:18 +0000</bug_when>
    <thetext>Hi All, Is there any progres on this one? 

/Mårten Jansson</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1284023</commentid>
    <comment_count>21</comment_count>
    <who name="Oldřich Jedlička">oldium.pro</who>
    <bug_when>2012-08-12 11:29:49 +0000</bug_when>
    <thetext>I would like to see some progres as well. Now I have to call `find -iname &quot;*.jpg&quot; -execdir /usr/bin/exiv2 -d i {} +` to delete all tags on all images (Digikam is the only application storing IPTC tags on my system) and then store the tags using Digikam back to files. Strange is that Digikam is not able to keep its own tags in sync.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1284235</commentid>
    <comment_count>22</comment_count>
    <who name="Peter Albrecht">px79</who>
    <bug_when>2012-08-13 07:15:17 +0000</bug_when>
    <thetext>I have described another &quot;in-digikam-workaround&quot; at bug #288842 comment #2. 
But of course, the best solution would be if this issue is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308897</commentid>
    <comment_count>23</comment_count>
    <who name="Andrew Goodbody">ajg02</who>
    <bug_when>2012-10-24 19:33:05 +0000</bug_when>
    <thetext>I think that two or more ideas are being conflated here.
This is not a request for digikam to auto-remove tags that are not present in the db. ie it is not a request for strong synchronisation of tags. That would be the wrong way to fix this issue IMO.
It is a request for changes made to the tags hierarchy to be reflected in all images containing those tags. So only those tags changed should be updated but it should be done in all relevant images. It should not affect other tags already applied to the image regardless of whether they exist in the digikam db or not.
I struggle to believe that anyone would want the result of moving a tag in a hierarchy to actually just be to copy it to a new location or if they delete a tag, for it to not actually be deleted. Which is actually what the current behaviour is.
If there is a desire to have a history of changes made to tags that could be done as part of non-destructive editing and versioning. It does not mean that this bug should not be fixed as requested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1308934</commentid>
    <comment_count>24</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2012-10-24 21:35:30 +0000</bug_when>
    <thetext>Yes, and because of this very old issue I consider digiKam&apos;s tagging capabilities for new images functional but for already tagged photos completely unusable. digiKam is primarily a DAM tool, and if tagging files causes a cabbage-soup effect of duplicate old and new tags then the program&apos;s primary function it broken.
Please prioritize this!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309120</commentid>
    <comment_count>25</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2012-10-25 11:42:28 +0000</bug_when>
    <thetext>It is possible to rearrange tags on the tag tree and synchronize tags and the database IF you let digiKam write to the images. The trick is to reread metadata from the images to get all the mismatched tags into the digiKam database, then select ALL tags (not just the unwanted tags) on the Filters pane before rearranging and pruning the tag tree. Use a combination of albums and tags on the left pane to actually select the files to work with.

Unfortunately the above process doesn&apos;t seem to work if you are only writing to XMP sidecar files. digiKam doesn&apos;t seem to reread the XMP file and/or doesn&apos;t seem to want to delete any tags already written in the XMP file. 

I can see how some people might want digiKam to leave existing tags alone in the XMP file, if other applications are also using the same XMP file. But for myself, digiKam is the only application that writes to the XMP file and the current behavior makes using only XMP files impossible if I want the XMP files and the digiKam database to be in synch, which I do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309260</commentid>
    <comment_count>26</comment_count>
    <who name="Oldřich Jedlička">oldium.pro</who>
    <bug_when>2012-10-25 18:08:38 +0000</bug_when>
    <thetext>The problem is also that using _only_ Digikam to organise your tags is not well usable. It is able to add tags well, but that is all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309452</commentid>
    <comment_count>27</comment_count>
    <who name="">harry</who>
    <bug_when>2012-10-26 07:34:04 +0000</bug_when>
    <thetext>The bug also exists for deleting tags, they are not deleted from metadata.
As someone who has to work with a photo collection on multiple computers and sometimes access photos using other programs, it really is a serious bug. (and one of the very few reasons that I still need to use Windows)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309508</commentid>
    <comment_count>28</comment_count>
    <who name="Marcel Wiesweg">marcel.wiesweg</who>
    <bug_when>2012-10-26 09:53:51 +0000</bug_when>
    <thetext>Elle: The XMP sidecar problem seems to be unrelated. Please try to reduce it to a simple test case and report a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309702</commentid>
    <comment_count>29</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2012-10-26 16:57:51 +0000</bug_when>
    <thetext>Marcel, per your request, I submitted a bug report:
https://bugs.kde.org/show_bug.cgi?id=309058

On 10/26/12, Marcel Wiesweg &lt;marcel.wiesweg@gmx.de&gt; wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=268688
&gt;
&gt; --- Comment #28 from Marcel Wiesweg &lt;marcel.wiesweg@gmx.de&gt; ---
&gt; Elle: The XMP sidecar problem seems to be unrelated. Please try to reduce it
&gt; to
&gt; a simple test case and report a separate bug.
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You are on the CC list for the bug.
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309712</commentid>
    <comment_count>30</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2012-10-26 19:11:26 +0000</bug_when>
    <thetext>That is incorrect. I only store metadata in the image files themselves, not in sidecar files. I cannot effectively delete tags so that they will be removed from the images&apos; embedded metadata. Removing the digikam.db file doesn&apos;t help either as it will get repopulated with crap when the images are reread.

(In reply to comment #25)
&gt; It is possible to rearrange tags on the tag tree and synchronize tags and
&gt; the database IF you let digiKam write to the images. The trick is to reread
&gt; metadata from the images to get all the mismatched tags into the digiKam
&gt; database, then select ALL tags (not just the unwanted tags) on the Filters
&gt; pane before rearranging and pruning the tag tree. Use a combination of
&gt; albums and tags on the left pane to actually select the files to work with.
&gt; 
&gt; Unfortunately the above process doesn&apos;t seem to work if you are only writing
&gt; to XMP sidecar files. digiKam doesn&apos;t seem to reread the XMP file and/or
&gt; doesn&apos;t seem to want to delete any tags already written in the XMP file. 
&gt; 
&gt; I can see how some people might want digiKam to leave existing tags alone in
&gt; the XMP file, if other applications are also using the same XMP file. But
&gt; for myself, digiKam is the only application that writes to the XMP file and
&gt; the current behavior makes using only XMP files impossible if I want the XMP
&gt; files and the digiKam database to be in synch, which I do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309715</commentid>
    <comment_count>31</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2012-10-26 19:34:52 +0000</bug_when>
    <thetext>On 10/26/12, DrSlony &lt;bugs@londonlight.org&gt; wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=268688
&gt;
&gt; --- Comment #30 from DrSlony &lt;bugs@londonlight.org&gt; ---
&gt; That is incorrect. I only store metadata in the image files themselves, not
&gt; in
&gt; sidecar files. I cannot effectively delete tags so that they will be
&gt; removed
&gt; from the images&apos; embedded metadata. Removing the digikam.db file doesn&apos;t
&gt; help
&gt; either as it will get repopulated with crap when the images are reread.
&gt;
&gt; (In reply to comment #25)
&gt;&gt; It is possible to rearrange tags on the tag tree and synchronize tags and
&gt;&gt; the database IF you let digiKam write to the images. The trick is to
&gt;&gt; reread

See http://digikam.1695700.n4.nabble.com/How-to-remove-quot-left-behind-quot-tag-tree-td4660139.html

About the fifth post down I posted step by step how to remove all the
outdated tags, if you are writing to the image rather than to an XMP
sidecar. The steps are not intuitively obvious, it&apos;s really easy to
miss a step, and sometimes a few outdated tags are still left behind,
necessitating a redo to get the remaining tags. But it can be done.

I moved/broke up a very large tag tree, with tags applied to around
3500 images, leaving behind duplicate, outdated tags in the images.
That was just last week using digiKam 2.9. So I experimented and
searched the internet and came up with a process that worked for me.
As a precaution, probably best to test the process on some throwaway
tags/images before deploying over important images.

Also see this post: http://duq.ca/duqamuq/?p=270. It&apos;s for an older
version of digiKam, but the process outlined looks similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309949</commentid>
    <comment_count>32</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2012-10-27 13:04:47 +0000</bug_when>
    <thetext>See &quot;Synchronizing digiKam 2.9.0 database and image metadata&quot;
http://ninedegreesbelow.com/photography/digikam-how-to-synchronize-images-database.html
for how to resynchronize the database and the image metadata. This
only works if digiKam writes to the image files. It doesn&apos;t work if
digiKam writes to XMP sidecar files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1310253</commentid>
    <comment_count>33</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2012-10-28 16:13:20 +0000</bug_when>
    <thetext>Thank you for the guide Elle, I&apos;ll try it, but such things should not be necessary, this should just work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1310275</commentid>
    <comment_count>34</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2012-10-28 17:24:16 +0000</bug_when>
    <thetext>I agree with you, it should just work, and quite frankly, I don&apos;t
think my &quot;workaround&quot; is worth the hassle for anyone who does a lot of
tag-tree rearranging.

Sometimes even when all the tags are selected in the tags filter
before rearranging the tag tree, things still get out of
synchronization. This happened to me this AM and the only way I could
get digiKam to recognize the old tags still in the image metadata was
to delete the old database, create a new database, and then unassign
all the outdated tags, tag by tag, a tedious, slow process. I&apos;ve
modified my guide to emphasize that the procedure isn&apos;t a real
solution.

On 10/28/12, DrSlony &lt;bugs@londonlight.org&gt; wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=268688
&gt;
&gt; --- Comment #33 from DrSlony &lt;bugs@londonlight.org&gt; ---
&gt; Thank you for the guide Elle, I&apos;ll try it, but such things should not be
&gt; necessary, this should just work.
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You are on the CC list for the bug.
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340244</commentid>
    <comment_count>35</comment_count>
    <who name="Sven">sven-kdebug</who>
    <bug_when>2013-02-11 06:45:30 +0000</bug_when>
    <thetext>When i just migrated from f-spot to digikam some weeks ago, i thought digikam is totally broken - i was doing so much rearranging (basically build the tree as f-spot didn&apos;t put the structure into any tags, so i rearranged every tag. In the end I exported 
To me this behaviour is absolutely rediculus, arguing it is a feature seems strange to me. New tags are written (nonexistance of tag not preserved), removed tags are deleted (nothing preserved at all), but renamed/moved tags are too important to be not-preserved... 

Anyway, I&apos;m attaching my workaround to this. Its a perl script using exiftool to apply the tags it reads from the database. Its not beautiful (non-recursive, fixed maximum depth tagtree resolving, dirty hacks about when to write the metadata and the list of files (if -a is not specified) has to be given newline-delimited, which only happens if I paste to gedit, not to the CLI. Yet it allows you to either straighten the tags of your full collection or to a digikam-selected subset. Maybe its helpful to someone else, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340247</commentid>
    <comment_count>36</comment_count>
      <attachid>77121</attachid>
    <who name="Sven">sven-kdebug</who>
    <bug_when>2013-02-11 06:50:09 +0000</bug_when>
    <thetext>Created attachment 77121
Script to manage tags externally to digikam. German details: https://glumpundzeug.wordpress.com/2013/02/11/arbeiten-mit-digikam-was-es-kann-was-es-nicht-kann-und-was-man-dagegen-machen-kann/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340251</commentid>
    <comment_count>37</comment_count>
    <who name="">mnaugendre</who>
    <bug_when>2013-02-11 06:59:01 +0000</bug_when>
    <thetext>Is the issue solved in the 3.0.0 version?
I was waiting for it before doing a complete tags reorganization.

Marie-Noëlle

2013/2/11 Sven &lt;sven-kdebug@geekbox.info&gt;

&gt; https://bugs.kde.org/show_bug.cgi?id=268688
&gt;


&gt; --
&gt; You are receiving this mail because:
&gt; You voted for the bug.
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340258</commentid>
    <comment_count>38</comment_count>
      <attachid>77122</attachid>
    <who name="Sven">sven-kdebug</who>
    <bug_when>2013-02-11 07:28:25 +0000</bug_when>
    <thetext>Created attachment 77122
attached wrong file before, sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1340432</commentid>
    <comment_count>39</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2013-02-11 16:01:48 +0000</bug_when>
    <thetext>digiKam is first and foremost a digital asset management program. This issue should be given the highest priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389155</commentid>
    <comment_count>40</comment_count>
    <who name="Mårten Jansson">net</who>
    <bug_when>2013-08-11 20:49:43 +0000</bug_when>
    <thetext>Any updates?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389162</commentid>
    <comment_count>41</comment_count>
    <who name="DrSlony">bugs</who>
    <bug_when>2013-08-11 21:14:05 +0000</bug_when>
    <thetext>A year later :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389234</commentid>
    <comment_count>42</comment_count>
    <who name="Veaceslav Munteanu">veaceslav.munteanu90</who>
    <bug_when>2013-08-12 07:15:17 +0000</bug_when>
    <thetext>I will fix this issue as part of my Tag Manager proposal, please wait a little bit longer :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392031</commentid>
    <comment_count>43</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-08-23 17:20:19 +0000</bug_when>
    <thetext>Hi all here,

I discovered a dummy bug in maintenance tool about metadata synchronization which in fact do exactly the opposite. Typically, tool read back image metadata to DB against the inverse. 

So, Tags are always restored from file data to DB... It&apos;s weird.

I fixed this problem for next 3.4.0 release planed in September. I cannot reproduce this Tags tree problem, but it would be nice if somebody in this file can check behavior using current implementation from git/master.

Thanks in advance

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392888</commentid>
    <comment_count>44</comment_count>
      <attachid>81960</attachid>
    <who name="">caulier.gilles</who>
    <bug_when>2013-08-27 08:54:59 +0000</bug_when>
    <thetext>Created attachment 81960
Patch : debug statements and quick fix

I found where is bug.

It&apos;s in loop from MetadataHub::write() where tags list is recreated before to apply on metadata.

This patch add debug statement to see how is handle tags status from DB and to create tags list to record.

The quick fix here is to disable the line #712 from metadatahub.cpp to prevent loading old path tags list from image metadata.

In fact the loop processed just after run on tags status from DB. It do not handle tags which are not in DB (but always present in image metadata). So, loop process fine DB tags but ignore to remove obsolete one.

If we disable line #712, all sound work fine. 

This cannot be the ultimate solution. The loop must be simplified as there is nothing to handle from a previous tags list loading from image metadata.

I see also that there is always an empty tag from DB checked by the loop. By chance this one is drop when tags list is recorded to image metadata. I don&apos;t know where it come from. Perhaps it&apos;s a bug in TagsCache class...

Please review my patch and test. If this solution is fine, i will make a better patch for next 3.4.0 release planed on next Monday.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392944</commentid>
    <comment_count>45</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2013-08-27 12:49:36 +0000</bug_when>
    <thetext>I applied Gille&apos;s patch and so far everything seems to work like it should, meaning I haven&apos;t (yet?) been able to cause a discrepency between the image/sidecar metadata and the database.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392958</commentid>
    <comment_count>46</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-08-27 13:40:24 +0000</bug_when>
    <thetext>Thanks Elle,

The more advanced test to do is to cha,ge tas on right sidebar to a multiple selection, with combined values, as common tags shared between images, tags removed, tags added, and tags renamed.

There is also a test to check with and without XMP sidecar support enabled.

If all work fine as expected, well i will improve my patch as i explained before.

Thanks in advance for your feedback

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392964</commentid>
    <comment_count>47</comment_count>
    <who name="Veaceslav Munteanu">veaceslav.munteanu90</who>
    <bug_when>2013-08-27 14:12:06 +0000</bug_when>
    <thetext>:| We ended up doing the same work. Before I could read your post I also found the source of bug.

But your patch s not complete, there is a special case that I fixed:

setXmpKeybords from dmetadata called AddToTagStringBag instead of setXmpTagStringBag

which also causes duplicates.

Ok.. I will commit my changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392966</commentid>
    <comment_count>48</comment_count>
    <who name="Veaceslav Munteanu">veaceslav.munteanu90</who>
    <bug_when>2013-08-27 14:16:51 +0000</bug_when>
    <thetext>I think it should be done now.

Please test and report if everything work as it should :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392967</commentid>
    <comment_count>49</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-08-27 14:20:08 +0000</bug_when>
    <thetext>Git commit e15b54f988db686994dea2c1711d80dbf5c8c45d by Veaceslav Munteanu.
Committed on 27/08/2013 at 17:14.
Pushed by munteanu into branch &apos;master&apos;.

BUG: 268688 Disable read of old tag paths and use setXmpTagStringBag in dmetadata

M  +1    -1    digikam/fileaction/metadatahub.cpp
M  +1    -1    libs/dmetadata/dmetadata.cpp

http://commits.kde.org/digikam/e15b54f988db686994dea2c1711d80dbf5c8c45d

diff --git a/digikam/fileaction/metadatahub.cpp b/digikam/fileaction/metadatahub.cpp
index 115104a..6cb67c8 100644
--- a/digikam/fileaction/metadatahub.cpp
+++ b/digikam/fileaction/metadatahub.cpp
@@ -709,7 +709,7 @@ bool MetadataHub::write(DMetadata&amp; metadata, WriteMode writeMode, const Metadata

         // create list of keywords to be added and to be removed
         QStringList tagsPathList, oldKeywords, newKeywords;
-        metadata.getImageTagsPath(tagsPathList);
+        //metadata.getImageTagsPath(tagsPathList);

         for (QMap&lt;int, TagStatus&gt;::iterator it = d-&gt;tags.begin(); it != d-&gt;tags.end(); ++it)
         {
diff --git a/libs/dmetadata/dmetadata.cpp b/libs/dmetadata/dmetadata.cpp
index c465572..e8abb6a 100644
--- a/libs/dmetadata/dmetadata.cpp
+++ b/libs/dmetadata/dmetadata.cpp
@@ -3037,7 +3037,7 @@ QStringList DMetadata::getXmpKeywords() const

 bool DMetadata::setXmpKeywords(const QStringList&amp; newKeywords, bool setProgramName) const
 {
-    return addToXmpTagStringBag(&quot;Xmp.dc.subject&quot;, newKeywords, setProgramName);
+    return setXmpTagStringBag(&quot;Xmp.dc.subject&quot;, newKeywords, setProgramName);
 }

 bool DMetadata::removeXmpKeywords(const QStringList&amp; keywordsToRemove, bool setProgramName)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392971</commentid>
    <comment_count>50</comment_count>
    <who name="Elle Stone">elle</who>
    <bug_when>2013-08-27 15:01:11 +0000</bug_when>
    <thetext>This is from before the new patch!

Original Settings: Reading and Writing Metadata:
Read from sidecar files
Write to XMP sidecar only
(not checked: &apos;If possible write Metadata to RAW files&apos;)
I removed several tag heirarchies altogether from the list of tags, rearranged several of the tags that were left, renamed one of the tags, selected all the images, wrote the information to disk, closed and reopened digiKam. Spot-checking with exiftool, the sidecars are exactly synchronized with the database. The images, as expected, are not. At some point along the way I added a tag with Exiftool to one image. digiKam has not noticed this new tag, which is what should happen if the database really controls what goes into the xmp sidecar files.

Change to New Settings: Reading and Writing Metadata:
Read from sidecar files
Write to image and XMP Sidecar 
(&apos;If possible write Metadata to RAW files&apos; is not checked)
Now changing digiKam settings so that digiKam writes to the image as well as the sidecar, and writing to all images: The tag that I added to the image with Exiftool was removed from the image file.  So the database is controlling what goes into the image file and not the other way around. All jpeg metadata is now synchronized to the database. The raw files of course are not, but the raw file sidecars are synchronized.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>77121</attachid>
            <date>2013-02-11 06:50:09 +0000</date>
            <delta_ts>2013-02-11 07:28:25 +0000</delta_ts>
            <desc>Script to manage tags externally to digikam. German details: https://glumpundzeug.wordpress.com/2013/02/11/arbeiten-mit-digikam-was-es-kann-was-es-nicht-kann-und-was-man-dagegen-machen-kann/</desc>
            <filename>digikam-tagmanage.pl</filename>
            <type>text/plain</type>
            <size>3462</size>
            <attacher name="Sven">sven-kdebug</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9wZXJsIC13CiMgdmlhIGh0dHBzOi8vZ2x1bXB1bmR6ZXVnLndvcmRwcmVzcy5j
b20vMjAxMy8wMi8xMS9hcmJlaXRlbi1taXQ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wCXByaW50IHRoaXMgc2NyZWVuICYgZXhpdAoKZXhhbXBsZTogJDAgLW52IDwg
L3RtcC9maWxlcy10aGF0LW5lZWQtZml4aW5nCgpCdWdzICYgaXNzdWVzOgpJdCBpcyBvbmx5IHRl
c3RlZCB3aXRoIE15U1FMIGFuZCBsb2NhbCBjb2xsZWN0aW9ucy4KSW1hZ2VzIHdpdGhvdXQgYW55
IHRhZ3MgYXNzaWduZWQgaW4gZGlnaWthbSB3aWxsIG5vdCBiZSB0b3VjaGVkLgpUaGUgbWF4aW11
bSBkZXB0aCBvZiB0aGUgdGFnLXRyZWUgaXMgOS4KRU9ECmV4aXQ7Cn0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>77122</attachid>
            <date>2013-02-11 07:28:25 +0000</date>
            <delta_ts>2013-02-11 07:28:25 +0000</delta_ts>
            <desc>attached wrong file before, sorry.</desc>
            <filename>digikam-tagmanage.pl</filename>
            <type>application/x-perl</type>
            <size>3480</size>
            <attacher name="Sven">sven-kdebug</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9wZXJsIC13CiMgdmlhIGh0dHBzOi8vZ2x1bXB1bmR6ZXVnLndvcmRwcmVzcy5j
b20vMjAxMy8wMi8xMS9hcmJlaXRlbi1taXQtZGlnaWthbS13YXMtZXMta2Fubi13YXMtZXMtbmlj
aHQta2Fubi11bmQtd2FzLW1hbi1kYWdlZ2VuLW1hY2hlbi1rYW5uLwp1c2Ugc3RyaWN0Owp1c2Ug
d2FybmluZ3M7CnVzZSBEQkk7CnVzZSB1dGY4Owp1c2Ugb3BlbiAnOmVuY29kaW5nKFVURi04KSc7
CnVzZSBvcGVuICc6c3RkJzsKdXNlIEdldG9wdDo6U3RkOwp1c2UgSW1hZ2U6OkV4aWZUb29sIHF3
KDpQdWJsaWMpOwoKbXkgJGRibmFtZT0iZGlnaWthbSI7ICNjb3VsZHNob3VsZCBiZSByZWFkIGZy
b20gZGlnaWthbSB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cn0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>81960</attachid>
            <date>2013-08-27 08:54:59 +0000</date>
            <delta_ts>2013-08-27 08:54:59 +0000</delta_ts>
            <desc>Patch : debug statements and quick fix</desc>
            <filename>268688.diff</filename>
            <type>text/plain</type>
            <size>3393</size>
            <attacher>caulier.gilles</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL2RpZ2lrYW0vZmlsZWFjdGlvbi9tZXRhZGF0YWh1Yi5jcHAgYi9kaWdpa2Ft
L2ZpbGVhY3Rpb24vbWV0YWRhdGFodWIuY3BwCmluZGV4IDExNTEwNGEuLjM2Njc2NGYgMTAwNjQ0
Ci0tLSBhL2RpZ2lrYW0vZmlsZWFjdGlvbi9tZXRhZGF0YWh1Yi5jcHAKKysrIGIvZGlnaWthbS9m
aWxlYWN0aW9uL21ldGFkYXRhaHViLmNwcApAQCAtNjk5LDcgKzY5OSw3IEBAIGJvb2wgTWV0YWRh
dGFIdWI6OndyaXRlKERNZXRhZGF0YSYgbWV0YWRhdGEsIFdyaXRlTW9kZSB3cml0ZU1vZGUsIGNv
bnN0IE1ldGFkYXRhCiAgICAgICAgIG1ldGFkYXRhLnNldEltYWdlRmFjZXNNYXAoZC0+ZmFjZVRh
Z3NMaXN0LHRydWUpOwogICAgIGVsc2UKICAgICAgICAgbWV0YWRhdGEuc2V0SW1hZ2VGYWNlc01h
cChkLT5mYWNlVGFnc0xpc3QsZmFsc2UpOwotCisgICAgCiAgICAgaWYgKHNhdmVUYWdzICYmICh3
cml0ZUFsbEZpZWxkcyB8fCBkLT50YWdzQ2hhbmdlZCkpCiAgICAgewogICAgICAgICAvLyBTdG9y
ZSB0YWcgcGF0aHMgYXMgSXB0YyBrZXl3b3JkcyB0YWdzLgpAQCAtNzA5LDI4ICs3MDksNDAgQEAg
Ym9vbCBNZXRhZGF0YUh1Yjo6d3JpdGUoRE1ldGFkYXRhJiBtZXRhZGF0YSwg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pZiAoaXQudmFsdWUoKSA9PSBNZXRhZGF0YUF2YWlsYWJsZSkKICAg
ICAgICAgICAgIHsKKyAgICAgICAgICAgICAgICBrRGVidWcoKSA8PCAiPT0+IEF2YWlsYWJsZSI7
CisgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgLy8gVGhpcyB3b3JrcyBmb3Igc2lu
Z2xlIGFuZCBtdWx0aXBsZSBzZWxlY3Rpb24uCiAgICAgICAgICAgICAgICAgLy8gSW4gYm90aCBz
aXR1YXRpb25zLCB0YWdzIHdoaWNoIGhhZCBvcmlnaW5hbGx5IGJlZW4gbG9hZGVkCiAgICAgICAg
ICAgICAgICAgLy8gaGF2ZSBleHBsaWNpdGx5IGJlZW4gcmVtb3ZlZCB3aXRoIHNldFRhZy4KICAg
ICAgICAgICAgICAgICBRU3RyaW5nIHRhZ05hbWUgPSBUYWdzQ2FjaGU6Omluc3RhbmNlKCktPnRh
Z05hbWUoaXQua2V5KCkpOwogICAgICAgICAgICAgICAgIFFTdHJpbmcgdGFnUGF0aCA9IFRhZ3ND
YWNoZTo6aW5zdGFuY2UoKS0+dGFnUGF0aChpdC5rZXkoKSwgVGFnc0NhY2hlOjpOb0xlYWRpbmdT
bGFzaCk7CiAKKyAgICAgICAgICAgICAgICBrRGVidWcoKSA8PCAiPT0+IFBhdGg6ICIgPDwgdGFn
UGF0aDsKKwogICAgICAgICAgICAgICAgIGlmIChpdC52YWx1ZSgpLmhhc1RhZykKICAgICAgICAg
ICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgIGtEZWJ1ZygpIDw8ICI9PT4gaGFzVGFnOiB5
ZXMiOworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAg
ICAgICAgIGlmICghdGFnc1BhdGhMaXN0LmNvbnRhaW5zKHRhZ1BhdGgpKQogICAgICAgICAgICAg
ICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICAgICBrRGVidWcoKSA8PCAiPT0+IHBhdG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cgdGFncyBuYW1lLgogICAgICAgICBkaXJ0eSB8PSBt
ZXRhZGF0YS5yZW1vdmVYbXBLZXl3b3JkcyhvbGRLZXl3b3Jkcyk7CiAgICAgICAgIGRpcnR5IHw9
IG1ldGFkYXRhLnNldFhtcEtleXdvcmRzKG5ld0tleXdvcmRzKTsKLQorICAgICAgICAKICAgICAg
ICAgLy8gV2Ugc2V0IFRhZ3MgUGF0aCBsaXN0IGluIGRpZ2lLYW0gWG1wIHByaXZhdGUgbmFtZXNw
YWNlIHVzaW5nIHRhZ3MgcGF0aC4KICAgICAgICAgZGlydHkgfD0gbWV0YWRhdGEuc2V0SW1hZ2VU
YWdzUGF0aCh0YWdzUGF0aExpc3QpOwogICAgIH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>