Action VSS Add File(s) bug nested identical foldernames are not recursively added to vss

Hi
If I use the Source Safe action “VSS Add File(s)” and add a folder tree recursively, it seems that it cannot add two folders with the identical names if they are nested in a subdirectory.
Make a folder on the disk called testRecursive place a subfolder called test and another subfolder called test as well. Place some dummy files and use the add action
Example:
C:\testRecursive
C:\testRecursive\test
C:\testRecursive\newdoc.txt
C:\testRecursive\test\test
C:\testRecursive\test\test\anotherdoc.txt
C:\testRecursive\test\test\yetanother.txt
 
Only the first test folder is added, I don’t know if this is a VSS bug or a Finalbuilder bug.
Finalbuilder version 5.0.0.130
ss.exe version 8.0.50727.42

Hi Martin

We’ll check this out on Monday, this looks like a bug to me. What are you specifying for the Files field. I suspect if you use a filespec, for example *.txt then recursion will fail because the directory test will not match.

HTH

Hi Vincent

The filepec is *.*

But the action dosen't fail but only the first of the folders with the same name is added to vss. if the second folder is renamed it will work.

/Martin

Hi Vincent

Where you able to reproduce the error?

Brg

Martin

Hi Martin,

There was a bug in the VSS Add Files action, exactly as you described. Sorry it took us a while to get back to you.

Here’s a test build with the fix:

https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_196.exe

Please let us know how you go.

Regards,

Angus

Hi Angus

It works fine.

Brg.

Martin