Hand backport a patch from master. Do not cache the parent when adding a child.
This commit is contained in:
parent
bf097ac337
commit
86b5157e4d
1 changed files with 0 additions and 1 deletions
|
|
@ -86,7 +86,6 @@ sub addChild {
|
|||
$properties->{assetId} = $id;
|
||||
$properties->{parentId} = $self->getId;
|
||||
my $temp = WebGUI::Asset->new($session,$properties) || croak "Couldn't create a new $properties->{className} asset!";
|
||||
$temp->{_parent} = $self;
|
||||
my $newAsset = $temp->addRevision($properties, $now, $options);
|
||||
$self->updateHistory("added child ".$id);
|
||||
$session->http->setStatus(201,"Asset Creation Successful");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue