Le Wednesday 30 November 2005 à 15:09:04, Reid Priedhorsky a écrit:
> Package: jpilot
> Version: 0.99.8-2
> Severity: critical
> Justification: causes serious data loss
> 
> 
> Steps to reproduce:
> 
>   1. Click "Sync your palm to the desktop and then do a backup".
> 
>   2. Use the Palm as normal -- add, remove, and modify data on both the Palm
>      and the desktop, and sync to the desktop as needed. (In my case, this
>      step took about a month.)
> 
>   3. Sync the Palm.
> 
>   4. Reset the Palm or otherwise delete its data.
> 
>   5. Choose "File->Restore Handheld". Wait while JPilot works. The Palm will
>      pop a dialog box asking to be reset; say OK. JPilot will ask to be 
> synced.
> 
>   6. Click "Sync your palm to the desktop".
> 
> Actual behavior:
> 
>   JPilot and the Palm both contain data current as of Step 1, i.e. everything
>   done in Step 2 is lost.

I checked the code and your description is not what is supposed to
happen. During restore jpilot will use the latest modified file between
~/.jpilot/foobar and ~/.jpilot/backup/foobar.

>   As far as I can tell, in Step 1, JPilot creates a directory
>   ~/.jpilot/backup-${MMDDhhmm} containing the most current data at that time.
>   Then, in Step 5, JPilot places onto the Palm data from that same directory
>   -- which is now out of date. In Step 6, JPilot copies the out-of-date data
>   back from the Palm into ~/.jpilot, overwriting the current data from Step 3.

No exactly. See my point above.

> Expected behavior:
> 
>   Personally, I'd expect JPilot to silently place the the most current
>   possible data onto the Palm (obviously, Step 4 may irretrievably lose some).
>   Some data would come from ~/.jpilot, and some (applications) would come from
>   ~/.jpilot/backup-${MMDDhhmm}.
> 
>   However, a dialog box along the lines of "I'm about to restore your handheld
>   to its state as of blah blah blah, this may cause data loss, etc." would be
>   sufficient to prevent data loss and allow me to patch things up manually by
>   moving around .pdb and prc files.

Are you sure jpilot behaved like you described and it is not a
misinterpretation on your side?

Bye,

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Reply via email to