In the View/Collection “Edit Selected...†drop down menu there is an option for Delete. If you Check a Collection and select Delete the Options are:
For Collections, delete:
Collection and Contents
Collection Only
If you select “Collection and Contents†this does not delete Objects (documents in the example below) that Appear in Multiple locations.
NOTE: The easiest way to understand this is to draw a picture of each.
Scenario #1 (Copy Documents only)
Replication steps on 6.00.01 Update3
1. I created a new collection, and placed 4 files into that Collection.
2. I selected all 4 files using the web interface, and copied them to the clipboard.
3. I then opened an existing collection, and created a new sub-collection under this one.
4. I then pasted the 4 files to the new sub-collection.
5. I went back to the first collection in step 1, and deleted the entire collection and its contents.
6. I checked on the sub-collection in step 3, and the 4 files were still there, with the same document ID number (displayed when hovering the mouse over the link).
How DocuShare interprets what to do in Scenario 1
After pasting the four files into the new sub-collection (step 4) the four documents are contained directly under the new collection (step 1) and also under the new sub collection (step 3). The four documents now have 2 parents the original collection and the new collection you pasted them into.
In other words, scenario 1 has 2 parents (the two collections that have the four documents in them) and 4 children (the documents)
In scenario 1, when you delete one of the parents with the delete children option (Collection and Contents Option). The delete rule is that any child stays if it still has an undeleted parent. So the children were not deleted because they still have a parent left.
Scenario #2 (Copy Collection with Documents)
Replication steps on 6.00.01 Update3
1. I created a new collection, and placed 4 files into that Collection.
2. I selected that Collection using the web interface, and copied it to the clipboard.
3. I then opened an existing collection, and pasted it into the new location.
4. I went back to the first collection in step 1, and deleted the entire collection and its contents.
5. This action removed the Collection & Contents from Both Locations
How Docushare interprets what to do in Scenario 2
After pasting the existing collection into a new collection (step 3) the four documents are still in the original collection you created (step 1) and the pasted collection and its contents are inside another collection (grandparent). So this scenario has one grandparent, a parent, and 4 children.
In other words, in scenario 2 the 4 documents have 1 parent (original collection that has the four documents in them) and 1 grandparent (the new collection you pasted the 4 documents into).
When you delete the parent object with the delete children option (Collection and its Contents Option) the children are deleted along with their single parent. This is because no parent exists only a grandparent.