Skip to content
Permalink
Browse files

ticket 12318: asset error causes asset manager to fail

  • Loading branch information...
daviddelikat committed Jan 12, 2012
1 parent fabf59f commit bce42bca47a903ddcf18a39fb8736e33c0180937
Showing with 6 additions and 0 deletions.
  1. +1 −0 docs/changelog/7.x.x.txt
  2. +5 −0 lib/WebGUI/Content/AssetManager.pm
@@ -1,4 +1,5 @@
7.10.24
- fixed #12318: asset error causes asset manager to fail
- fixed #12308: error message used scalar as reference
- fixed #12256: Calendar Search doesn't show admin controls
- fixed #12268: Point of sale form missing from cart screen.
@@ -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,

0 comments on commit bce42bc

Please sign in to comment.
You can’t perform that action at this time.