diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 7d73bd77a..9f86bc288 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -95,6 +95,9 @@ - Fixed a bug in the HTMLArea image manager that would not allow users to upload files if the gateway script was not at /index.pl - bugfix [1008283]. Add new user not working for secondary admin (Leendert Bottelberghs). + - bugfix [ 1014337 ] WSClient->new error: templateId field missing in + database + - bugfix [ 991782 ] More Fault Tolerent upgrade_5.9.9-6.0.0.pl diff --git a/docs/upgrades/upgrade_5.9.9-6.0.0.pl b/docs/upgrades/upgrade_5.9.9-6.0.0.pl index bca3399c4..8e42d2e5e 100644 --- a/docs/upgrades/upgrade_5.9.9-6.0.0.pl +++ b/docs/upgrades/upgrade_5.9.9-6.0.0.pl @@ -15,490 +15,6 @@ GetOptions( 'configFile=s'=>\$configFile, 'quiet'=>\$quiet ); -WebGUI::Session::open("../..",$configFile); - - -#-------------------------------------------- -print "\tMigrating styles.\n" unless ($quiet); -my $sth = WebGUI::SQL->read("select * from style"); -while (my $style = $sth->hashRef) { - if ($style->{styleId} == 3) { - $style->{body} =~ s/styles\/plainblack\/logo-white\.gif/plainblack.gif/ixsg; - $style->{body} =~ s/2001-2002/2001-2004/ixsg; - $style->{body} =~ s/Plain\s+Black\s+Software/Plain Black Corporation/ixsg; - } - my ($header,$footer) = split(/\^\-\;/,$style->{body}); - my ($newStyleId) = WebGUI::SQL->quickArray("select max(templateId) from template where namespace='style'"); - if ($style->{styleId} > 0 && $style->{styleId} < 25) { - $newStyleId = $style->{styleId}; - } elsif ($newStyleId > 999) { - $newStyleId++; - } else { - $newStyleId = 1000; - } - my $newStyle = $session{setting}{docTypeDec}.' - -
-|
- |
-
|
+ |
+