From 198d46983d0c62d2a7245ef3100de6efee31f23e Mon Sep 17 00:00:00 2001 From: daniceexi Date: Sun, 14 Dec 2014 05:24:08 -0500 Subject: [PATCH] defect 4468: (NodeRange.pm) fix the issue that table_object->{_use_cache} was not turned off in Noderange which will cause the Table.pm cannot get correct column for nodelist table --- perl-xCAT/xCAT/NodeRange.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/NodeRange.pm b/perl-xCAT/xCAT/NodeRange.pm index f03a47518..8abfa9ff1 100644 --- a/perl-xCAT/xCAT/NodeRange.pm +++ b/perl-xCAT/xCAT/NodeRange.pm @@ -196,6 +196,7 @@ sub expandatom { $nodelist->_set_use_cache(1); @allnodeset = $nodelist->getAllAttribs('node','groups'); %allnodehash = map { $_->{node} => 1 } @allnodeset; + $nodelist->_set_use_cache(0); #The {_use_cache} for nodelist table object must be turn off, otherwise it will keep open and affect the Table.pm subroutines like getNodesAttribs when it tries to access nodelist table to get status column. } my $verify = (scalar(@_) >= 1 ? shift : 1); my %options = @_; # additional options