[Bug 271651] New: 2.0 beta4 can't use network shares

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] New: 2.0 beta4 can't use network shares

Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651

           Summary: 2.0 beta4 can't use network shares
           Product: digikam
           Version: 2.0.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Kioslave
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Created an attachment (id=59285)
 --> (http://bugs.kde.org/attachment.cgi?id=59285)
Debug output

Version:           2.0.0 (using KDE 4.6.2)
OS:                Linux

With Digikam 2.0 beta4 I can't use my network collection on NFS/CIFS network
share anymore.
Adding the path as a local or a removable collection works.
Email thread:
http://mail.kde.org/pipermail/digikam-users/2011-March/012721.html

Reproducible: Always

Steps to Reproduce:
Try to create a Network Collection on a mounted NFS/CIFS share.

Actual Results:  
A dialog window saying it can't create the collection.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] 2.0 beta4 can't use network shares

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=271651


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-04-25 21:54:00 ---
Git commit 7adb7184f9f9c8c82eeb0d5b094ac8fb91018d7c by Matthias Welwarsky.
Committed on 25/04/2011 at 14:21.
Pushed by welwarsky into branch 'master'.

CollectionManager: fix for collections on network shares

QUrl default constructor expects an unencoded URL. If an encoded
URL is used, the '%' is again encoded and the resulting URL
is unusable. AlbumRootLocation::identifier seems to be already encoded,
therefore use the proper QUrl::fromEncoded() method.

Without this fix, existing collections on network shares are always
marked unavailable and new collections can not be generated.

Signed-off-by: Matthias Welwarsky <[hidden email]>

M  +1    -1    libs/database/collectionmanager.cpp

http://commits.kde.org/digikam/7adb7184f9f9c8c82eeb0d5b094ac8fb91018d7c

diff --git a/libs/database/collectionmanager.cpp
b/libs/database/collectionmanager.cpp
index e2a4bbe..40e3e67 100644
--- a/libs/database/collectionmanager.cpp
+++ b/libs/database/collectionmanager.cpp
@@ -450,7 +450,7 @@ QString CollectionManagerPrivate::pathFromIdentifier(const
AlbumRootLocation* lo
 QStringList
CollectionManagerPrivate::networkShareMountPathsFromIdentifier(const
AlbumRootLocation* location)
 {
    // using a QUrl because KUrl cannot handle duplicate query items
-    QUrl url(location->identifier);
+    QUrl url = QUrl::fromEncoded(location->identifier.toLocal8Bit());

    if (url.scheme() != "networkshareid")
    {

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] 2.0 beta4 can't use network shares

Gilles Caulier-4
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651





--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2011-04-25 21:54:56 ---
Jonas,

Mattias has patched git master source code to trying to fix this problem.
Please checkout source code and report.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] 2.0 beta4 can't use network shares

Jonas Norlander
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651





--- Comment #3 from Jonas Norlander <jonorland gmail com>  2011-04-29 19:12:00 ---
I try to don't mix my system with self compiled programs. If the fix is in beta
5 I will upgrade it from Philip's PPA.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] 2.0 beta4 can't use network shares

Jonas Norlander
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651





--- Comment #4 from Jonas Norlander <jonorland gmail com>  2011-05-07 06:35:16 ---
Works fine in 2.0 beta 5 from Philips PPA for me.
Kubunty 11.04

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] 2.0 beta4 can't use network shares

Gilles Caulier-4
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 271651] 2.0 beta4 can't use network shares

Gilles Caulier-4
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 271651] 2.0 beta4 can't use network shares

Gilles Caulier-4
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Kioslave                    |Database

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 271651] 2.0 beta4 can't use network shares

bugzilla_noreply
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Setup

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 271651] 2.0 beta4 can't use network shares

bugzilla_noreply
In reply to this post by Jonas Norlander
https://bugs.kde.org/show_bug.cgi?id=271651

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database-Setup              |Database-Media

--
You are receiving this mail because:
You are the assignee for the bug.