Changeset 1028


Ignore:
Timestamp:
Nov 1, 2010, 12:48:46 PM (10 years ago)
Author:
t.w.abma@…
Message:
  • fixed NPE when empty cells were read from Excel and the property, added check which skips retrieving the 'dontimport' property if the cell is null
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/importer/ImporterService.groovy

    r1002 r1028  
    391391
    392392                        // Check if column must be imported
    393                         if (!mc.dontimport) {
     393                        if (mc!=null) if (!mc.dontimport) {
    394394                                try {
    395395                                        value = formatValue(df.formatCellValue(cell), mc.templatefieldtype)
Note: See TracChangeset for help on using the changeset viewer.