Bug 361823

Summary: I missed all my bookmarks after upgrade to KDE Applications 16.03.90
Product: [Applications] krdc Reporter: Juan R. Rodriguez <juanrr.ar>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal CC: cedric.devillers, jpwhiting, juanrr.ar, wbauer1
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 16.04.3
Sentry Crash Report:

Description Juan R. Rodriguez 2016-04-15 17:19:37 UTC
After upgrade KRDC version 15.12.3 to version 16.03.90 I don't have any of my bookmarks and don't know how to import / convert them.

Reproducible: Didn't try



Expected Results:  
All my bookmarks from the previus version be imported automatically.
Comment 1 Urs Wolfer 2016-04-16 09:36:50 UTC
@Juan R. Rodriguez: All settings from other KDE applications are still available?
Comment 2 Urs Wolfer 2016-04-16 09:38:59 UTC
@jpwhiting: You have worked on the migration stuff. Do you have any idea here?
Comment 3 Juan R. Rodriguez 2016-04-19 12:35:54 UTC
(In reply to Urs Wolfer from comment #1)
> @Juan R. Rodriguez: All settings from other KDE applications are still
> available?

Hi, yes, as I can see, all is fine except for KRDC.
Comment 4 brancaleone 2016-04-20 14:02:53 UTC
Hello, i had the same problem ; i resolved it by moving bookmarks.xml from kde4 specific location to the new krdc config location :

cp ~/.kde4/share/apps/krdc/bookmarks.xml  ~/.local/share/krdc/bookmarks.xml
Comment 5 Juan R. Rodriguez 2016-04-20 16:15:53 UTC
(In reply to brancaleone from comment #4)
> Hello, i had the same problem ; i resolved it by moving bookmarks.xml from
> kde4 specific location to the new krdc config location :
> 
> cp ~/.kde4/share/apps/krdc/bookmarks.xml  ~/.local/share/krdc/bookmarks.xml

Hi, thank you very much for your help. It worked!
You can copy your "host preferences" the same way:

cp ~/.kde4/share/apps/krdc/hostpreferences.xml  ~/.local/share/krdc/hostpreferences.xml
Comment 6 Wolfgang Bauer 2016-06-24 12:52:57 UTC
I can confirm this issue with the latest version (16.04.2).

The migrator copies the bookmarks to ~/.local/share/krdcbookmarks.xml, but krdc expects them in  ~/.local/share/krdc/bookmarks.xml.

So apparently there's a '/' missing somewhere...
Comment 7 Wolfgang Bauer 2016-06-24 13:22:10 UTC
This fixes it:
https://git.reviewboard.kde.org/r/128281/
Comment 8 Wolfgang Bauer 2016-06-25 11:14:46 UTC
Git commit 7d9ad0152dbc47c30f261c9d4c026e01bea31b7d by Wolfgang Bauer.
Committed on 25/06/2016 at 11:12.
Pushed by wbauer into branch 'Applications/16.04'.

Fix bookmarks migration from the KDE4 version

targetBasePath needs a trailing slash because the file name is appended
afterwards.
FIXED-IN: 16.04.3
REVIEW: 128281

M  +1    -1    main.cpp

http://commits.kde.org/krdc/7d9ad0152dbc47c30f261c9d4c026e01bea31b7d