Trap calls to newById inside getParent. StoryArchive should use cloneFromDb.

This commit is contained in:
Colin Kuskie 2010-05-05 11:50:31 -07:00
parent d758bceea2
commit 3e168b1c87
2 changed files with 2 additions and 2 deletions

View file

@ -306,7 +306,7 @@ sub getFolder {
$oldVersionTag->setWorking() if $oldVersionTag;
##Get a new version of the asset from the db with the correct state
$folder = WebGUI::Asset->newByUrl($session, $folderUrl);
$folder = $folder->cloneFromDb();
return $folder;
}