[open-ils-commits] [GIT] Evergreen ILS branch master updated. 7c3b2dae0b1fca098c4804f52cadf406c29fd458

Evergreen Git git at git.evergreen-ils.org
Sun Mar 16 15:29:50 EDT 2014


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 "Evergreen ILS".

The branch, master has been updated
       via  7c3b2dae0b1fca098c4804f52cadf406c29fd458 (commit)
       via  356b8262679babe942fcea96c9e628058fc48c9b (commit)
      from  befdd0b7c9703ff94ee3f3f74aae4d1fd42e4469 (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 7c3b2dae0b1fca098c4804f52cadf406c29fd458
Author: Bill Erickson <berick at esilibrary.com>
Date:   Thu Mar 13 10:27:13 2014 -0400

    LP#1287967 upgrade notes re: removing reporter view
    
    ...and it's reinstallation requirements.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/docs/RELEASE_NOTES_NEXT/OPAC/Composite_Record_Attributes.txt b/docs/RELEASE_NOTES_NEXT/OPAC/Composite_Record_Attributes.txt
index e256184..6fade74 100644
--- a/docs/RELEASE_NOTES_NEXT/OPAC/Composite_Record_Attributes.txt
+++ b/docs/RELEASE_NOTES_NEXT/OPAC/Composite_Record_Attributes.txt
@@ -29,3 +29,12 @@ Format in various ways that provide a more patron-friendly set of choices.
 This new Format filter can be adjusted, or even replaced with a completely
 local one, through configuration and without template adjustment.
 
+Upgrade Notes
++++++++++++++
+
+As part of the DB upgrade, the reporter view
+"reporter.classic_current_circ" was dropped.  If you previously
+installed this view from example.reporter-extension.sql, it will
+have to be re-installed by executing the "CREATE OR REPLACE
+VIEW reporter.classic_current_circ AS..." SQL once again from
+example.reporter-extension.sql.

commit 356b8262679babe942fcea96c9e628058fc48c9b
Author: Ben Shum <bshum at biblio.org>
Date:   Thu Mar 6 17:46:30 2014 -0500

    LP1287967 - drop reporter.classic_current_circ view as part of 0864 upgrade
    
    As noted in the bug description, attempts to run 0864.MVF_CRA-upgrade.sql will
    fail on a database where the reporter.classic_current_circ view is present.
    
    Add a DROP VIEW IF EXISTS and then include a note that administrators will need
    to recreate the VIEW afterwards if desired.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql b/Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
index 4adbde7..4307f90 100644
--- a/Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
@@ -139,6 +139,7 @@ INSERT INTO metabib.record_attr_vector_list (source,vlist)
       WHERE COALESCE(u.id,c.id) IS NOT NULL
       GROUP BY 1;
 
+DROP VIEW IF EXISTS reporter.classic_current_circ; 
 DROP VIEW metabib.rec_descriptor;
 DROP TABLE metabib.record_attr;
 
@@ -898,3 +899,6 @@ CREATE OR REPLACE FUNCTION unapi.mra (
 $F$ LANGUAGE SQL STABLE;
 
 COMMIT;
+\qecho 'We dropped reporter.classic_current_circ earlier from the'
+\qecho 'example.reporter-extension.sql sample. You will need to'
+\qecho 'run it again to recreate that custom reporter view.'

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

Summary of changes:
 .../src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql    |    4 ++++
 .../OPAC/Composite_Record_Attributes.txt           |    9 +++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list