preparing for 7.0.5 release
fixed some bugs
This commit is contained in:
parent
3000fccb79
commit
dfe92a73e2
7 changed files with 97 additions and 20 deletions
|
|
@ -1386,8 +1386,11 @@ sub new {
|
|||
my $class = shift;
|
||||
my $session = shift;
|
||||
my $assetId = shift;
|
||||
return undef unless ($assetId);
|
||||
my $className = shift;
|
||||
unless (defined $assetId) {
|
||||
$session->errorHandler->error("Asset constructor new() requires an assetId.");
|
||||
return undef;
|
||||
}
|
||||
my $assetRevision = $session->stow->get("assetRevision");
|
||||
my $revisionDate = shift || $assetRevision->{$assetId}{$session->scratch->get("versionTag")||'_'};
|
||||
unless ($revisionDate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue