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. 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. 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. I have a Palm M100, FYI. Thanks for your work on this package, Reid p.s. I am unsure of the severity level. Please adjust if appropriate. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.4.31 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages jpilot depends on: ii debconf [debconf-2.0] 1.4.59 Debian configuration management sy ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-8 GNU C Library: Shared libraries an ii libglib2.0-0 2.8.3-1 The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libncurses5 5.5-1 Shared libraries for terminal hand ii libpango1.0-0 1.8.2-3 Layout and rendering of internatio ii libpisock8 0.11.8-12 Library for communicating with a P ii libreadline5 5.0-11 GNU readline and history libraries Versions of packages jpilot recommends: ii jpilot-plugins 0.99.8-2 plugins for jpilot (Palm Pilot des -- debconf information: * shared/pilot/port: ttyS1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]