upgrade bug fixes

This commit is contained in:
JT Smith 2005-06-22 19:29:45 +00:00
parent 100b9fa4ec
commit 478d71ffdb
2 changed files with 2 additions and 1 deletions

View file

@ -500,6 +500,7 @@ my $lastCollateralFolderId = 'nolastid';
my ($parentId, $baseLineage);
my $sth = WebGUI::SQL->read("select * from collateral order by collateralFolderId");
while (my $data = $sth->hashRef) {
next if ($data->{filename} eq "");
print "\t\tConverting collateral item ".$data->{collateralId}." for folder ".$data->{collateralFolderId}."\n" unless ($quiet);
unless ($lastCollateralFolderId eq $data->{collateralFolderId}) {
my $id = $data->{collateralFolderId};

View file

@ -48,7 +48,7 @@ $conf->write;
#--------------------------------------------
print "\tAdding default product template\n" unless ($quiet);
my $import = WebGUI::Asset->newByUrl('templates');
my $import = WebGUI::Asset->getImportNode;
my $folder = $import->addChild({
title=>"Commerce/Product",
menuTitle=>"Commerce/Product",