Ignore:
Timestamp:
Jan 20, 2011, 4:10:50 PM (9 years ago)
Author:
work@…
Message:
  • did some extreme programming with Tjeerd to fix issues in the importer where it either failed to finish, or failed to save template fields. Turns out it was due to the fact the method in the service was not static
File:
1 edited

Legend:

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

    r1416 r1417  
    9292                [title: 'Properties'],
    9393                [title: 'Mappings'],
    94                 [title: 'Imported'],
     94                //[title: 'Imported'],
    9595                [title: 'Persist']
    9696            ]
     
    212212                    error()
    213213                }
    214             }.to "pageFour"
     214            }.to "save"
    215215            on("previous").to "pageTwo"
    216216        }
     
    248248
    249249                    if (saveEntities(flow, params)) {
     250                                        //if (ImporterService.saveDatamatrix(flow.importer_study, flow.importer_importeddata)) {
    250251                        log.error ".import wizard succesfully persisted all entities"                       
    251                         def session = sessionFactory.getCurrentSession()
    252                         session.clear()                       
     252                        //def session = sessionFactory.getCurrentSession()
     253                        //session.clear()
    253254                        success()
    254255                    } else {                       
Note: See TracChangeset for help on using the changeset viewer.