newByDynamicClass changed to newById
This commit is contained in:
parent
0fd922daed
commit
49bd7f5032
41 changed files with 94 additions and 94 deletions
|
|
@ -310,7 +310,7 @@ sub view {
|
|||
my @productIds = List::MoreUtils::uniq(@childSkus, @{$keywordBasedAssetIds});
|
||||
my @products = ();
|
||||
PRODUCT: foreach my $id (@productIds) {
|
||||
my $asset = WebGUI::Asset->newByDynamicClass($session, $id);
|
||||
my $asset = WebGUI::Asset->newById($session, $id);
|
||||
if (!defined $asset) {
|
||||
$session->errorHandler->error(q|Couldn't instanciate SKU with assetId |.$id.q| on shelf with assetId |.$self->getId);
|
||||
next PRODUCT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue