diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index a17ee2c1d..758b7a7e8 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -395,7 +395,7 @@ sub definition { assetName=>WebGUI::International::get("asset","Asset"), tableName=>'assetData', className=>'WebGUI::Asset', - icon=>'assets.gif' + icon=>'assets.gif', properties=>{ title=>{ fieldType=>'text', @@ -1415,7 +1415,7 @@ sub getLineage { if ($rules->{returnObjects}) { my $parent = $relativeCache{$parentId}; $relativeCache{$id} = $asset; - $asset->{_parent} = $parent if exists $relativeCache{$properties->{parentId}}; + $asset->{_parent} = $parent if exists $relativeCache{$parentId}; $parent->{_firstChild} = $asset unless(exists $parent->{_firstChild}); $parent->{_lastChild} = $asset; } diff --git a/lib/WebGUI/Asset/Wobject.pm b/lib/WebGUI/Asset/Wobject.pm index f6c6828a4..04eae2d1d 100644 --- a/lib/WebGUI/Asset/Wobject.pm +++ b/lib/WebGUI/Asset/Wobject.pm @@ -95,7 +95,7 @@ sub definition { }, cacheTimeoutVisitor=>{ fieldType=>'interval', - defaultValue=>600 + defaultValue=>600, tab=>"display", label=>WebGUI::International::get(896,'Wobject'), hoverHelp=>WebGUI::International::get('896 description','Wobject'),