Show
Ignore:
Timestamp:
12-01-11 16:59:00 (3 years ago)
Author:
t.w.abma@…
Message:

- removing cells, concurrentModificationException fixed?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1377 r1378  
    504504     * @param entity entity to remove from the failedcells list 
    505505     */ 
    506     def removeFailedCell(failedcells, entity) { 
    507         def tempfailedcells = [] 
    508         def tempfailedrecord = new ImportRecord() 
    509  
     506    def removeFailedCell(failedcells, entity) {         
    510507        // Valid entity, remove it from failedcells 
    511  
    512508        failedcells.each { record -> 
    513509            record.importcells.each { cell -> 
    514510            // remove the cell from the failed cells session 
    515511                if (cell.entityidentifier == entity.getIdentifier()) { 
    516                     tempfailedrecord = record 
    517                     tempfailedrecord.removeFromImportcells(cell) 
    518                     record = tempfailedrecord 
     512                    //record.removeFromImportcells(cell) 
     513                    cell.remove() 
    519514                } 
    520515            } // end of importcells