<?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>344800</bug_id>
          
          <creation_ts>2015-03-03 20:44:18 +0000</creation_ts>
          <short_desc>SQLITE : when moving an album to another location tags are lost (NFS storage)</short_desc>
          <delta_ts>2020-09-05 20:08:37 +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>Database-Media</component>
          <version>4.8.0</version>
          <rep_platform>openSUSE</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>0</everconfirmed>
          <reporter name="Bernd Lachner">dev</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>metzpinguin</cc>
    
    <cc>peter017</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.2.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1503287</commentid>
    <comment_count>0</comment_count>
    <who name="Bernd Lachner">dev</who>
    <bug_when>2015-03-03 20:44:18 +0000</bug_when>
    <thetext>I tested this on digikam version 4.7.0 also,  and got the same behaviour.

I have 3 &quot;root&quot; albums. One on my local home directory and two on NFS shares.

On my local album and on one NFS share I have the same sub album (which includes even more sub albums) with the same pictures. For example the sub albums have the name &quot;2007&quot;. Only the sub album &quot;2007&quot; on the local album have pictures with tags.

I renamed the sub album on the NFS share to &quot;2007old&quot;. Than I moved the sub album &quot;2007&quot; from the local album to the album on the NFS share. After this album move, tags in sub album &quot;2007&quot; are lost.

All operation are done inside digikam. So it seems that in this case digikam not moves the tags in the database. Btw. I use digikam with sqlite database.


Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503319</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2015-03-03 22:23:21 +0000</bug_when>
    <thetext>There is no reason to see this dysfunction.

Can you try to reproduce the problem with last 4.8.0 ? 3.5.0 is very old now.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1504067</commentid>
    <comment_count>2</comment_count>
    <who name="Bernd Lachner">dev</who>
    <bug_when>2015-03-07 17:13:04 +0000</bug_when>
    <thetext>(In reply to Gilles Caulier from comment #1)
&gt; There is no reason to see this dysfunction.
&gt; 
&gt; Can you try to reproduce the problem with last 4.8.0 ? 3.5.0 is very old now.
&gt; 
&gt; Gilles Caulier

3.5.0 was the standard version on openSUSE 13.1. But as I wrote, I tested it with version 4.7.0 too and there was the same problem. I will see if I can find a RPM with version 4.8.0 to test with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508867</commentid>
    <comment_count>3</comment_count>
    <who name="Bernd Lachner">dev</who>
    <bug_when>2015-04-04 10:23:23 +0000</bug_when>
    <thetext>I now tested it with version 4.8 and image tags are lost after I moved.

I started digikam in a Konsole window and got some messages:

digikam(28378)/digikam (core) Digikam::ImageInfo::fromLocationAlbumAndName: No itemShortInfo could be retrieved from the database for image &quot;PICT0446.JPG&quot;                                                                                                                                    
digikam(28378)/digikam (core) Digikam::ThumbnailCreator::createThumbnail: Cannot create thumbnail for  &quot;/home/.../Bilder/2010/Urlaub/PICT0670.JPG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508889</commentid>
    <comment_count>4</comment_count>
    <who name="Bernd Lachner">dev</who>
    <bug_when>2015-04-04 12:02:03 +0000</bug_when>
    <thetext>I have done a small video to show the bug. Unfortunately I can upload it as an attachment because of the file size limit on this site.

But you can download it under the following link:
https://www.dropbox.com/s/sr4tsbi7obbczjh/digikam.mkv?dl=0

The video is made with digikam 4.8.0. The album &quot;Bilder&quot; is on the local home directory. The album &quot;Bilder Alle&quot; is on a NFS directory. I don&apos;t know if its is important, the album &quot;Bilder Nutzer&quot; which is not involved in the operation is also on a NFS directory. The picture with the tag was on Bilder/2011/EBay and 2011 was moved to &quot;Bilder Alle&quot;. After this, the tag was lost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1535453</commentid>
    <comment_count>5</comment_count>
    <who name="Peter Potrowl">peter017</who>
    <bug_when>2015-08-06 20:41:36 +0000</bug_when>
    <thetext>I have a similar problem here (not NFS storage, though).

I moved an album containing 1124 tagged pictures from one parent album to another. The operation took a long time (about 15 minutes). After this, 30 pictures among those have no more tags. The other pictures kept their tags.

My database engine is SQLite. Digikam version is 4.8.0. I remember this also happened with some previous version(s) of digikam.

I use the official Digikam RPM of Mageia 5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608573</commentid>
    <comment_count>6</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2016-07-16 12:46:53 +0000</bug_when>
    <thetext>Can you reproduce this dysfunction with digiKam 5.0.0 ?

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1642417</commentid>
    <comment_count>7</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2016-11-29 11:17:40 +0000</bug_when>
    <thetext>Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948212</commentid>
    <comment_count>8</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2020-08-02 14:45:55 +0000</bug_when>
    <thetext>digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best regards

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1955345</commentid>
    <comment_count>9</comment_count>
    <who name="Bernd Lachner">dev</who>
    <bug_when>2020-09-05 19:06:25 +0000</bug_when>
    <thetext>I just tested this behavior with digikam 6.4.0 and 7.0.0 (appimage) again and can&apos;t reproduce it anymore. So in my opinion this bug can be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1955354</commentid>
    <comment_count>10</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2020-09-05 20:08:37 +0000</bug_when>
    <thetext>Thanks for the feedback, I close the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>