[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 36978ac3dd74ffd44a73a290e6363ca6762af515

Evergreen Git git at git.evergreen-ils.org
Thu Dec 1 23:13:53 EST 2011


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, rel_2_1 has been updated
       via  36978ac3dd74ffd44a73a290e6363ca6762af515 (commit)
      from  a70e7212db7e4932d2447019d0bd2b71f6db4e48 (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 36978ac3dd74ffd44a73a290e6363ca6762af515
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Dec 1 23:06:50 2011 -0500

    LP881774: Missing schema on function in 2.0-2.1 upgrade
    
    Although the search path is altered to include the evergreen schema at
    the start of the upgrade, one of the functions in the evergreen schema
    does not resolve when invoked without the explicit schema later in the
    upgrade script. We address that superficial (but failure provoking / time
    wasting) problem by qualifying the function with the evergreen schema in
    this commit, but we should also find out why the altered search path
    does not seem to be functioning in the upgrade script.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql b/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql
index 4c9686f..7e874d8 100644
--- a/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql
@@ -6916,7 +6916,7 @@ CREATE OR REPLACE FUNCTION unapi.holdings_xml (bid BIGINT, ouid INT, org TEXT, d
                  XMLELEMENT(
                      name volumes,
                      (SELECT XMLAGG(acn) FROM (
-                        SELECT  unapi.acn(acn.id,'xml','volume',array_remove_item_by_value( evergreen.array_remove_item_by_value($5,'holdings_xml'),'bre'), $3, $4, $6, $7, FALSE)
+                        SELECT  unapi.acn(acn.id,'xml','volume', evergreen.array_remove_item_by_value( evergreen.array_remove_item_by_value($5,'holdings_xml'),'bre'), $3, $4, $6, $7, FALSE)
                           FROM  asset.call_number acn
                           WHERE acn.record = $1
                                 AND EXISTS (

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

Summary of changes:
 Open-ILS/src/sql/Pg/2.0-2.1-upgrade-db.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list