AnantLabs / big5sync

Automatically exported from code.google.com/p/big5sync
1 stars 0 forks source link

Folder Rename Not Handled By XMLWriterVisitor? #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a manual tag, and tag 2 or 3 folders
2. Create a new folder in one of the tagged folders
3. Sync
4. The new folder will sync across all 3.
5. Rename the new folder in one of the tagged folders

What is the expected output?
All 3 folders renamed, with the old name gone.

What do you see instead?
All 3 folders renamed, plus empty folders with the old name. Put a 
breakpoint in CompareAndSyncController just before XMLWriterVisitor, the 
rename occurs ok. I think XMLWriterVisitor creates those empty folder so it 
can write the metadata, which is not required anymore (since folder is 
renamed).

Please use labels and text to provide additional information.

Original issue reported on code.google.com by sohyuanc...@gmail.com on 14 Mar 2010 at 4:08

GoogleCodeExporter commented 9 years ago
Update: Folder deletion is not handled too.

Original comment by sohyuanc...@gmail.com on 14 Mar 2010 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by sohyuanc...@gmail.com on 15 Mar 2010 at 2:38