Fix problems with the Story Archive leaking version tags when it is not committed. Fixes bug #11678
This commit is contained in:
parent
321f165147
commit
b7ba9f2118
5 changed files with 31 additions and 6 deletions
|
|
@ -70,6 +70,9 @@ my $topic = $defaultNode->addChild({
|
|||
my $archiveTag = WebGUI::VersionTag->getWorking($session);
|
||||
$archiveTag->commit;
|
||||
WebGUI::Test->addToCleanup($archiveTag);
|
||||
foreach my $asset ($archive, $topic) {
|
||||
$asset = $asset->cloneFromDb;
|
||||
}
|
||||
|
||||
my $storage1 = WebGUI::Storage->create($session);
|
||||
my $storage2 = WebGUI::Storage->create($session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue