From fd9b7a38436d4c5feaca5ef16acd17563f0456f9 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Mon, 13 Jul 2009 06:58:04 +0000 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=2819356&group_id=176962&atid=879335 - as per colin suggestion, make ChartType mandatory for PA_Goal - Zkwebui raise class loader exception when using jfreechart --- .classpath | 8 ++------ migration/353a-trunk/oracle/499_FR2819356.sql | 20 +++++++++++++++++++ .../353a-trunk/postgresql/499_FR2819356.sql | 20 +++++++++++++++++++ tools/build.xml | 7 +++++++ 4 files changed, 49 insertions(+), 6 deletions(-) create mode 100644 migration/353a-trunk/oracle/499_FR2819356.sql create mode 100644 migration/353a-trunk/postgresql/499_FR2819356.sql diff --git a/.classpath b/.classpath index 9d156a4b4c..1b2ef01032 100644 --- a/.classpath +++ b/.classpath @@ -98,16 +98,14 @@ - + - + - - @@ -134,8 +132,6 @@ - - diff --git a/migration/353a-trunk/oracle/499_FR2819356.sql b/migration/353a-trunk/oracle/499_FR2819356.sql new file mode 100644 index 0000000000..3273103e7b --- /dev/null +++ b/migration/353a-trunk/oracle/499_FR2819356.sql @@ -0,0 +1,20 @@ +-- Jul 13, 2009 2:22:40 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2009-07-13 14:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57921 +; + +-- Jul 13, 2009 2:23:07 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +ALTER TABLE PA_Goal MODIFY ChartType NVARCHAR2(2) DEFAULT 'BC' +; + +-- Jul 13, 2009 2:23:10 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +UPDATE PA_Goal SET ChartType='BC' WHERE ChartType IS NULL +; + +-- Jul 13, 2009 2:23:10 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +ALTER TABLE PA_Goal MODIFY ChartType NOT NULL +; + diff --git a/migration/353a-trunk/postgresql/499_FR2819356.sql b/migration/353a-trunk/postgresql/499_FR2819356.sql new file mode 100644 index 0000000000..a2af8ca9a4 --- /dev/null +++ b/migration/353a-trunk/postgresql/499_FR2819356.sql @@ -0,0 +1,20 @@ +-- Jul 13, 2009 2:22:40 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2009-07-13 14:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57921 +; + +-- Jul 13, 2009 2:23:07 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +insert into t_alter_column values('pa_goal','ChartType','VARCHAR(2)',null,'BC') +; + +-- Jul 13, 2009 2:23:10 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +UPDATE PA_Goal SET ChartType='BC' WHERE ChartType IS NULL +; + +-- Jul 13, 2009 2:23:10 PM MYT +-- Add more chart type support to Performance indicator - ID: 2819356 +insert into t_alter_column values('pa_goal','ChartType',null,'NOT NULL',null) +; + diff --git a/tools/build.xml b/tools/build.xml index a5d6a68ec1..caa29baa29 100644 --- a/tools/build.xml +++ b/tools/build.xml @@ -260,6 +260,13 @@ + + + + + + +