[Fusionforge-commits] FusionForge branch Branch_5_1 updated. d47cfe3762602db58090bf638b4661b33df64d5c

Thorsten Glaser mirabilos at fusionforge.org
Mon Nov 12 16:08:49 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_1 has been updated
       via  d47cfe3762602db58090bf638b4661b33df64d5c (commit)
      from  dd8c2857c5362c1e902d0203ff7ac9603af76b51 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d47cfe3762602db58090bf638b4661b33df64d5c
Author: Thorsten Glaser <tg at mirbsd.org>
Date:   Mon Nov 12 16:08:07 2012 +0100

    change project_task_vw to include project_task_external_order.external_id
    
    which is required by some code in common/pm/ProjectTask.class.php
    that throws warnings otherwise

diff --git a/src/db/20121112-fix-projecttask-external_id.sql b/src/db/20121112-fix-projecttask-external_id.sql
new file mode 100644
index 0000000..b4b3a0d
--- /dev/null
+++ b/src/db/20121112-fix-projecttask-external_id.sql
@@ -0,0 +1,9 @@
+DROP VIEW project_task_vw;
+
+CREATE VIEW project_task_vw AS
+SELECT project_task.*, project_category.category_name, project_status.status_name, users.user_name, users.realname, project_task_external_order.external_id
+FROM project_task
+FULL JOIN project_category ON (project_category.category_id = project_task.category_id)
+FULL JOIN users ON (users.user_id = project_task.created_by)
+FULL JOIN project_task_external_order ON (project_task_external_order.project_task_id = project_task.project_task_id)
+NATURAL JOIN project_status;
diff --git a/src/deb-specific/db-upgrade.pl b/src/deb-specific/db-upgrade.pl
index 690b551..6d2d045 100755
--- a/src/deb-specific/db-upgrade.pl
+++ b/src/deb-specific/db-upgrade.pl
@@ -1956,6 +1956,7 @@ eval {
     &update_with_sql("20111009-string-aggregate-function","5.1-11");
     &update_with_sql("20120321-add-news-in-activity_vw","5.1-12");
     &update_with_sql("20120903-no-unix-account-for-deleted-users", "5.1-13");
+    &update_with_sql("20121112-fix-projecttask-external_id", "5.1-14");
 
     ########################### INSERT HERE #################################
 

-----------------------------------------------------------------------

Summary of changes:
 src/db/20121112-fix-projecttask-external_id.sql |    9 +++++++++
 src/deb-specific/db-upgrade.pl                  |    1 +
 2 files changed, 10 insertions(+)
 create mode 100644 src/db/20121112-fix-projecttask-external_id.sql


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list