Changeset 1045


Ignore:
Timestamp:
Nov 2, 2010, 9:42:03 AM (6 years ago)
Author:
t.w.abma@…
Message:
  • temporary removed addition of failed cells to when using importData-method
File:
1 edited

Legend:

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

    r1044 r1045  
    6565            def datamatrix_celltype = sheet.getRow(datamatrix_start).getCell(columnindex, org.apache.poi.ss.usermodel.Row.CREATE_NULL_AS_BLANK).getCellType()
    6666            def datamatrix_celldata = df.formatCellValue(sheet.getRow(datamatrix_start).getCell(columnindex))
    67             def datamatrix_cell     = sheet.getRow(datamatrix_start).getCell(columnindex)
    68             println "frn is "+sheet.getFirstRowNum()
    69                 def headercell = sheet.getRow(headerrow-1+sheet.getFirstRowNum()).getCell(columnindex)
     67            def datamatrix_cell     = sheet.getRow(datamatrix_start).getCell(columnindex)           
     68            def headercell = sheet.getRow(headerrow-1+sheet.getFirstRowNum()).getCell(columnindex)
    7069            def tft = TemplateFieldType.STRING //default templatefield type
    7170
     
    431430        // add the failed columns to the record (might also be just an empty map if nothing failed)
    432431        // a failed column means that using the entity.setFieldValue() threw an exception
    433         record.add(failed)
     432        //record.add(failed)
    434433       
    435434        return record
Note: See TracChangeset for help on using the changeset viewer.