Packages used in upgrades get installed regardless of revisionDate. Fixes bug #11059
This commit is contained in:
parent
aad5f55601
commit
270ecb948f
4 changed files with 41 additions and 5 deletions
|
|
@ -18,6 +18,7 @@
|
|||
- fixed #10988: EMS Schedule -- Data Error
|
||||
- fixed: DataForm allows edits when locked by another version tag
|
||||
- fixed #11001: Shipping plugin returning nothing, causing price formatter to puke
|
||||
- fixed #11059: WebGUI upgrade packages do not overwrite versions in the db
|
||||
|
||||
7.8.0
|
||||
- upgraded YUI to 2.8.0r4
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ sub addPackage {
|
|||
$storage->addFileFromFilesystem( $file );
|
||||
|
||||
# Import the package into the import node
|
||||
my $package = eval { WebGUI::Asset->getImportNode($session)->importPackage( $storage ); };
|
||||
my $package = eval { WebGUI::Asset->getImportNode($session)->importPackage( $storage, { overwriteLatest => 1 } ); };
|
||||
|
||||
if ($package eq 'corrupt') {
|
||||
die "Corrupt package found in $file. Stopping upgrade.\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue