diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index 3c6c2c373..be0b9b592 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -2183,7 +2183,10 @@ else { else { ($column,$value) = split("=",$temp,2); } - + unless (grep /$column/,@{$xCAT::Schema::tabspec{$table}->{cols}}) { + $callback->({error=>"$table.$column not a valid table.column description",errorcode=>[1]}); + return; + } $tableupdates{$table}{$column}=$value; }