Using automatic mode in v2.2 on Windows XP SP2
Left directory contains file internet.txt
Right directory contains file Internet.txt (same file renamed with capital I)
With the following historyfile, the program wants to delete both copies
<?xml version="1.0" encoding="UTF-8"?>
<history date="1207302603849" src="d:\test" tgt="m:\test">
<item directory="false" length="7" modified="1207302368848" path="\internet.txt"/>
<item directory="false" length="7" modified="1207302368848" path="\Internet.txt"/>
</history>
I created the above historyfile to recreate the bug. I don't know which series of actions make the program create this situation in it's historyfile, but I have this same situation in a much larger historyfile (unedited by hand of course).
Logged In: NO
I can confirm this bug (JFileSync 2.2, Windows XP SP3, Sun Java 6.0.70.6). On the first comparison in Automatic Mode, JFileSync suggests to move both files. If this is allowed, it does in fact not move one of them (without giving an error message). After the second comparison in Auto Mode, JFileSync suggests to delete both files. If this is allowed, it will result in data loss.
Well, if you carefully do the synchronization, you will notice something is wrong and can correct the error before JFileSync deletes both files. I believe JFileSync should consider the files as being identical, since so does Windows XP.
I'll have a look at this. This bug is only related to Windows. As far as I know, all POSIX file systems will correctly recognize them as different files.