Bug 333606 - Upgrade Deleted Notes
Summary: Upgrade Deleted Notes
Status: RESOLVED NOT A BUG
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-19 02:31 UTC by e8hffff
Modified: 2014-04-20 01:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.