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

Evergreen Git git at git.evergreen-ils.org
Thu Aug 22 09:31:58 EDT 2013


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  b7f13bf99487c79d65300267e82c297d95796d86 (commit)
      from  21bc541d8439610093e756db563501875a7bc1d3 (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 b7f13bf99487c79d65300267e82c297d95796d86
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Thu Aug 1 12:34:21 2013 -0400

    silence some unitialized warnings
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm
index 4542e24..f8bc724 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm
@@ -75,7 +75,7 @@ sub load_fields {
             
             my $name     = get_attribute( $attribute_list, 'name' );
             next if( $name eq 'isnew' || $name eq 'ischanged' || $name eq 'isdeleted' );
-            my $required  = get_attribute( $attribute_list, 'oils_obj:required' );
+            my $required  = get_attribute( $attribute_list, 'oils_obj:required' ) || "false";
             my $validate  = get_attribute( $attribute_list, 'oils_obj:validate' );
             my $virtual  = get_attribute( $attribute_list, 'oils_persist:virtual' );
             if( ! defined( $virtual ) ) {
@@ -150,7 +150,7 @@ sub load_class {
     my $fm               = get_attribute( $attribute_list, 'oils_obj:fieldmapper' );
     $fm                  = 'Fieldmapper::' . $fm;
     my $id               = get_attribute( $attribute_list, 'id' );
-    my $controller       = get_attribute( $attribute_list, 'controller' );
+    my $controller       = get_attribute( $attribute_list, 'controller' ) || '';
     my $virtual          = get_attribute( $attribute_list, 'virtual' );
     if( ! defined( $virtual ) ) {
         $virtual = 'false';

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

Summary of changes:
 .../src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list