the error does not ocure on small sites with just 1 level is goes wrong in the 2nd and 3th level duplicating.
Okay, the fix for this is relatively simple and can be done on a MODx 0.9.1 install so I’ll post the fix here as well as in the SVN.
In duplicate_content.processor.php, look for these lines:
// duplicate the TVs and keywords for the document's children
for($i=0;$i<$affected;$i++) {
$newid +=$i;
duplicateTVs($myChildren[$i],$newid);
duplicateKeywords($myChildren[$i],$newid);
duplicateAccess($myChildren[$i],$newid);
And, change to:
// duplicate the TVs and keywords for the document's children
for($i=0;$i<$affected;$i++) {
duplicateTVs($myChildren[$i],$newid);
duplicateKeywords($myChildren[$i],$newid);
duplicateAccess($myChildren[$i],$newid);
$newid +=$i;
Let’s increment the ID in the right place, heh? lol
EDIT: Still working out a few of the other issues, I’ve also noticed the ’TVs duplicating twice’ thing as well so looking into that at the moment.
Hope that helps,
Garry