details:   https://code.openbravo.com/erp/devel/pi/rev/c2059804fd2c
changeset: 30342:c2059804fd2c
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Sep 30 09:26:25 2016 +0200
summary:   fixed bug 34131: NPE exporting DB with template change for column 
required

  A NPE was thrown and export.database process stopped in case there was a 
config
  script with a change for column required and the log level was set to debug.

  The problem was in ColumnRequiredChange.toString which assumed _column to be
  not null, which is not true in all cases.

  Fixed by being deffensive on this case. Also improved information in toString
  by adding table name and new required value.

diffstat:

 src-db/database/lib/dbsourcemanager.jar |    0 
 1 files changed, 0 insertions(+), 0 deletions(-)

diffs (2 lines):

diff -r 686cffe899fe -r c2059804fd2c src-db/database/lib/dbsourcemanager.jar
Binary file src-db/database/lib/dbsourcemanager.jar has changed

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to