all tests run individually

This commit is contained in:
Doug Bell 2010-11-17 19:31:44 -06:00
parent 1866c593ea
commit 6931fd471e
25 changed files with 157 additions and 159 deletions

View file

@ -163,7 +163,6 @@ sub importAssetData {
WebGUI::Asset->loadModule( $class );
my %properties = %{ $data->{properties} };
delete $properties{tagId};
if ($options->{inheritPermissions}) {
delete $properties{ownerUserId};
delete $properties{groupIdView};
@ -265,7 +264,6 @@ sub importPackage {
if $storage->getErrorCount;
my $package = undef; # The asset package
my $log = $self->session->log;
my $tag = WebGUI::VersionTag->getWorking( $self->session );
# The debug output for long requests would be too long, and we'd have to
# keep it all in memory.
@ -294,6 +292,11 @@ sub importPackage {
$decompressed->untar($storageId.".storage", $assetStorage);
}
if ( $options->{tagId} ) {
$data->{properties}{tagId} = $options->{tagId};
$data->{properties}{status} = "pending";
}
my $parentId = $data->{properties}->{parentId};
my $asset;
while ($asset = pop(@stack)) {