Changeset 1379


Ignore:
Timestamp:
Jan 12, 2011, 5:10:02 PM (6 years ago)
Author:
t.w.abma@…
Message:
  • removing cells, concurrentModificationException fixed?
File:
1 edited

Legend:

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

    r1378 r1379  
    507507        // Valid entity, remove it from failedcells
    508508        failedcells.each { record ->
    509             record.importcells.each { cell ->
     509            //record.importcells.each { cell ->
    510510            // remove the cell from the failed cells session
     511
     512            Iterator celliter = record.importcells.iterator()
     513            while (celliter.hasNext()) {
     514                def cell = celliter.next()
     515
    511516                if (cell.entityidentifier == entity.getIdentifier()) {
    512517                    //record.removeFromImportcells(cell)
    513518                    cell.remove()
    514519                }
    515             } // end of importcells
     520            }
     521
     522           // } // end of importcells
    516523        } // end of failedcells
    517524    }
Note: See TracChangeset for help on using the changeset viewer.