importing a package didn't follow auto commit settings
This commit is contained in:
parent
c7c7c4e605
commit
0a829e5da7
2 changed files with 9 additions and 1 deletions
|
|
@ -198,7 +198,14 @@ sub importPackage {
|
|||
my $newAsset = $asset->importAssetData($data);
|
||||
$assets{$newAsset->getId} = $newAsset;
|
||||
}
|
||||
return undef;
|
||||
if ($self->session->setting->get("autoRequestCommit")) {
|
||||
if ($self->session->setting->get("skipCommitComments")) {
|
||||
WebGUI::VersionTag->getWorking($self->session)->requestCommit;
|
||||
} else {
|
||||
$self->session->http->setRedirect($self->getUrl("op=commitVersionTag;tagId=".WebGUI::VersionTag->getWorking($self->session)->getId));
|
||||
}
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue