[open-ils-commits] [GIT] Evergreen ILS branch master updated. 998660710a5fd9c7e9b5e6e7fdda3a15005d3983

Evergreen Git git at git.evergreen-ils.org
Thu Aug 7 23:31:56 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  998660710a5fd9c7e9b5e6e7fdda3a15005d3983 (commit)
      from  b3f203b6f920d35c0b5e14ef4f2cda840e8a4f55 (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 998660710a5fd9c7e9b5e6e7fdda3a15005d3983
Author: Dan Scott <dscott at laurentian.ca>
Date:   Thu Aug 7 23:19:07 2014 -0400

    LP#1292705 Fix broken is*() methods in fm_IDL2js.xsl
    
    A thinko meant that we were no longer incrementing the field variable,
    leading to breakage in interfaces that used isnew() and the like.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xsl/fm_IDL2js.xsl b/Open-ILS/xsl/fm_IDL2js.xsl
index ecc374f..da1c2b8 100644
--- a/Open-ILS/xsl/fm_IDL2js.xsl
+++ b/Open-ILS/xsl/fm_IDL2js.xsl
@@ -19,7 +19,10 @@ var _preload_fieldmapper_IDL = {<xsl:apply-templates select="idl:IDL"/>};
 for (var c in _preload_fieldmapper_IDL) {
     var x = _preload_fieldmapper_IDL[c]; x.field_map = {};
     var p = x.fields.length;
-    for (var n in {isnew:1,ischanged:1,isdeleted:1}) x.fields[p] = {name:n,virtual:true};
+    for (var n in {isnew:1,ischanged:1,isdeleted:1}) {
+        x.fields[p] = {name:n,virtual:true};
+        p++;
+    }
     for (var f in x.fields) x.field_map[x.fields[f].name] = x.fields[f];
 }
     </xsl:template>

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

Summary of changes:
 Open-ILS/xsl/fm_IDL2js.xsl |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list