Bug 401516

Summary: Export to (Onedrive, Dropbox ...): list of subfolders not correctly displayed (problems if several subfolders have the same name)
Product: [Applications] digikam Reporter: Nicofo <nicofo>
Component: Plugin-WebService-OneDriveAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:

Description Nicofo 2018-11-28 21:51:22 UTC
SUMMARY
1. Select files > Export to Onedrive or DropBox (may be same problem with others)
2. Connect to your account
3. See the list of Albums: all the folders and subfolders are listed (not alphabetically: I don't know what sorting option is used). The problem is that if you have several subfolders having the same name, it is not possible to distinct them.

Example: I have Image/2018 and Music/2018 folders

OBSERVED RESULT - the list is:
Image
Music
2018
2018
(not always alphabetically sorted)

EXPECTED RESULT - the list should be:
Image
Image/2018
Music
Music/2018
(alphabetically sorted)
Comment 1 Maik Qualmann 2018-11-28 22:57:37 UTC
Git commit 5b885567b66050a65f6c477f460389c6e3eaef6a by Maik Qualmann.
Committed on 28/11/2018 at 22:40.
Pushed by mqualmann into branch 'master'.

fix upload path and show full path in the list
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +9    -5    core/utilities/assistants/webservices/onedrive/odtalker.cpp

https://commits.kde.org/digikam/5b885567b66050a65f6c477f460389c6e3eaef6a
Comment 2 Maik Qualmann 2018-11-29 07:13:01 UTC
Git commit 4e4e9a3835c599364e9697542520b9cddd39b632 by Maik Qualmann.
Committed on 29/11/2018 at 07:10.
Pushed by mqualmann into branch 'master'.

full sorted path in the list for Onedrive and Dropbox
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +4    -2    core/utilities/assistants/webservices/dropbox/dbtalker.cpp
M  +15   -16   core/utilities/assistants/webservices/onedrive/odtalker.cpp

https://commits.kde.org/digikam/4e4e9a3835c599364e9697542520b9cddd39b632