Bug 333606

Summary: Upgrade Deleted Notes
Product: [Applications] knotes Reporter: e8hffff <e8hffff>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: critical CC: montel, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description e8hffff 2014-04-19 02:31:47 UTC
Upgrades to 4.13 using the option to 'migrate' notes, and it deleted all my notes and lock onto an older version of notes held in another directory off ~./local/share/notes.

A programmer should never code delete a user's files unless in extreme situations and when the User knows the process.

When I realised the knotes was upgrading I did try to copy notes but they had already been deleted before the migration dialogue box was up.

This is the second time a upgrade had killed my note.

Reproducible: Always

Steps to Reproduce:
1. Upgrade
2. Notes deleted
3.
Actual Results:  
Lost notes

Expected Results:  
Upgrade the current links to notes, and leave any other directories alone even if they are considered proper.

These situation don't build any confidence in using KDE in businesses environment.
Comment 1 Laurent Montel 2014-04-19 07:53:34 UTC
Where it's deleted ????
you still have a ~/.kde/share/apps/knotes/notes.ics if you want.
Now it uses a new format as akonadi it's not a problem.
Comment 2 e8hffff 2014-04-19 09:30:19 UTC
(In reply to comment #1)
> Where it's deleted ????
> you still have a ~/.kde/share/apps/knotes/notes.ics if you want.
> Now it uses a new format as akonadi it's not a problem.

notes.ics only holds css, not note content.
Comment 3 e8hffff 2014-04-19 09:35:16 UTC
(In reply to comment #1)
> Where it's deleted ????
> you still have a ~/.kde/share/apps/knotes/notes.ics if you want.
> Now it uses a new format as akonadi it's not a problem.

Oh wait sorry it does contain the message content.  I will check to see if the proper data is retained.
Comment 4 e8hffff 2014-04-20 01:25:24 UTC
I was able to recover the notes manually by cleaning up the html within the notes.ics file, example stripslashes and converting other coding to html like '\n'.

I then chose to place each note's html code into a html file and display it and copy off the content or different lines from old notes.