ticket 12318: asset error causes asset manager to fail
This commit is contained in:
parent
fabf59fa54
commit
bce42bca47
2 changed files with 6 additions and 0 deletions
|
|
@ -309,6 +309,11 @@ sub www_ajaxGetManagerPage {
|
|||
for my $assetId ( @{ $p->getPageData } ) {
|
||||
my $asset = WebGUI::Asset->newByDynamicClass( $session, $assetId );
|
||||
|
||||
unless( $asset ) {
|
||||
$session->log->error('www_ajaxGetManagerPage: assetId="'.$assetId.'" failed in newByDynamicClass');
|
||||
next;
|
||||
}
|
||||
|
||||
# Populate the required fields to fill in
|
||||
my %fields = (
|
||||
assetId => $asset->getId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue