Changeset 1528


Ignore:
Timestamp:
Feb 16, 2011, 2:29:52 PM (12 years ago)
Author:
t.w.abma@…
Message:
  • fixed small refresh issue (lazy loading)
File:
1 edited

Legend:

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

    r1527 r1528  
    390390
    391391        im.mappingcolumns.each { mappingcolumn ->
    392             def mc = new MappingColumn()
    393             mc.properties = mappingcolumn.properties
    394 
    395             flow.importer_header[mappingcolumn.index.toInteger()] = mc         
     392            //def mc = new MappingColumn()
     393            //mc.properties = mappingcolumn.properties
     394
     395            flow.importer_header[mappingcolumn.index.toInteger()] = mappingcolumn            
    396396        }
    397397    }
     
    412412       
    413413        // Create new ImportMapping instance and persist it
    414         def im = new ImportMapping(name:params.mappingname, entity: flow.importer_entityclass, template:template).save()
    415        
     414        def im = new ImportMapping(name:params.mappingname, entity: flow.importer_entityclass, template:template).save()       
    416415
    417416                params.columnproperty.index.each { columnindex, property ->
Note: See TracChangeset for help on using the changeset viewer.