Pull fresh copies of the Topic from the db.
This commit is contained in:
parent
05ce650a1a
commit
a9bf59f87d
1 changed files with 4 additions and 2 deletions
|
|
@ -63,9 +63,9 @@ my $storyHandler = {};
|
|||
|
||||
STORY: foreach my $name (@characters) {
|
||||
my $namedStory = $nowFolder->addChild({ className => 'WebGUI::Asset::Story', title => $name, keywords => $name, } );
|
||||
$storyHandler->{$name} = $namedStory;
|
||||
$creationDateSth->execute([$now, $namedStory->getId]);
|
||||
$namedStory->requestAutoCommit;
|
||||
$storyHandler->{$name} = $namedStory->cloneFromDb;
|
||||
}
|
||||
|
||||
$storyHandler->{bogs}->update({subtitle => 'drinking his food through a straw'});
|
||||
|
|
@ -84,7 +84,9 @@ $topic->update({
|
|||
});
|
||||
|
||||
$versionTag->commit;
|
||||
addToCleanup($versionTag);
|
||||
WebGUI::Test->addToCleanup($versionTag);
|
||||
|
||||
$topic = $topic->cloneFromDb;
|
||||
|
||||
################################################################
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue