- Timestamp:
- Jan 12, 2011, 4:59:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy
r1377 r1378 504 504 * @param entity entity to remove from the failedcells list 505 505 */ 506 def removeFailedCell(failedcells, entity) { 507 def tempfailedcells = [] 508 def tempfailedrecord = new ImportRecord() 509 506 def removeFailedCell(failedcells, entity) { 510 507 // Valid entity, remove it from failedcells 511 512 508 failedcells.each { record -> 513 509 record.importcells.each { cell -> 514 510 // remove the cell from the failed cells session 515 511 if (cell.entityidentifier == entity.getIdentifier()) { 516 tempfailedrecord = record 517 tempfailedrecord.removeFromImportcells(cell) 518 record = tempfailedrecord 512 //record.removeFromImportcells(cell) 513 cell.remove() 519 514 } 520 515 } // end of importcells
Note: See TracChangeset
for help on using the changeset viewer.