From adef55be5fe06d2ea302584966eb82ff26e61a23 Mon Sep 17 00:00:00 2001
From: JT Smith
Date: Wed, 10 Dec 2003 23:35:41 +0000
Subject: [PATCH] migrating SQL reports
---
docs/migration.txt | 4 +
docs/previousVersion.sql | 2 +-
docs/upgrades/upgrade_5.5.3-6.0.0.pl | 92 +++++++++++++
docs/upgrades/upgrade_5.5.3-6.0.0.sql | 10 ++
lib/WebGUI/DatabaseLink.pm | 29 +++--
lib/WebGUI/ErrorHandler.pm | 10 +-
lib/WebGUI/Form.pm | 38 ++++++
lib/WebGUI/HTMLForm.pm | 75 +++++++++++
lib/WebGUI/Operation/DatabaseLink.pm | 2 +
lib/WebGUI/Paginator.pm | 40 +++++-
lib/WebGUI/Wobject/SQLReport.pm | 179 +++++++++-----------------
11 files changed, 344 insertions(+), 137 deletions(-)
diff --git a/docs/migration.txt b/docs/migration.txt
index a6bea8c8b..a5582012b 100644
--- a/docs/migration.txt
+++ b/docs/migration.txt
@@ -67,4 +67,8 @@ WebGUI::Form::dateTime() and WebGUI::HTMLForm->dateTime() no longer have
because there is only one field to represent both the date and the time,
unlike before.
+5.2 Database Links
+
+The database links API was changed in 6.0. The getHash function was removed and
+replaced with a getList function that returns a hash reference.
diff --git a/docs/previousVersion.sql b/docs/previousVersion.sql
index 385022ab7..b9b836ab6 100644
--- a/docs/previousVersion.sql
+++ b/docs/previousVersion.sql
@@ -17036,5 +17036,5 @@ update style set styleId=10 where styleId=-10;
delete from style where styleId<0;
update incrementer set nextValue=nextValue+1 where incrementerId='styleId';
update page set styleId=1000 where styleId=-8;
-INSERT INTO style VALUES (1000,'WebGUI 6','\r\n ','\r\n^AdminBar(1);\r\n\r\n\r\n\r\n \r\n  | \r\n ^L(17,"",2); ^AdminToggle; | \r\n  | \r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \n \r\n \n \r\n | \r\n \r\n ^Spacer(56,1); ^Spacer(26,1); | \r\n
\r\n
\r\n\r\n\r\n \r\n | ^Spacer(53,59); | \r\n ^D(\"%c %D, %y\"); | \r\n  | \r\n ^PageTitle; | \r\n ^Spacer(53,59); | \r\n
\r\n
\r\n\r\n\r\n\r\n \r\n | ^Spacer(53,1); | \r\n \r\n \r\n \r\n^FlexMenu;\r\n \r\n \r\n | \r\n\r\n  | \r\n \r\n ^-; | \r\n ^Spacer(53,1); | \r\n
\r\n
\r\n\r\n\r\n\r\n \r\n  | \r\n
\r\n \r\n  | \r\n
\r\n
\r\n\r\n
\r\n^AdminBar(2);\r\n\r\n\r\n\r\n \r\n  | \r\n ^L(17,"",2); ^AdminToggle; | \r\n  | \r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \n \r\n \n \r\n | \r\n \r\n ^Spacer(56,1); ^Spacer(26,1); | \r\n
\r\n
\r\n\r\n\r\n \r\n | ^Spacer(53,59); | \r\n ^D(\"%c %D, %y\"); | \r\n  | \r\n ^PageTitle; | \r\n ^Spacer(53,59); | \r\n
\r\n
\r\n\r\n\r\n\r\n \r\n | ^Spacer(53,1); | \r\n \r\n \r\n \r\n^FlexMenu;\r\n \r\n \r\n | \r\n\r\n  | \r\n \r\n ^-; | \r\n ^Spacer(53,1); | \r\n
\r\n
\r\n\r\n\r\n\r\n \r\n  | \r\n
\r\n \r\n  | \r\n
\r\n
\r\n