Ignore:
Timestamp:
Jan 20, 2011, 6:32:41 PM (10 years ago)
Author:
work@…
Message:
  • fixed importer issue with the authentication service not being available in static scope
  • log was also not available in static scope
  • changed logging from println to log.info
File:
1 edited

Legend:

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

    r1421 r1422  
    249249                                if (saveEntities(flow, params)) {
    250250                                        //if (ImporterService.saveDatamatrix(flow.importer_study, flow.importer_importeddata)) {
    251                                         log.error ".import wizard succesfully persisted all entities"
     251                                        //log.error ".import wizard succesfully persisted all entities"
    252252                                        //def session = sessionFactory.getCurrentSession()
    253253                                        //session.clear()
     
    521521                //def (validatedSuccesfully, updatedEntities, failedToPersist) =
    522522                //try {
    523                 ImporterService.saveDatamatrix(flow.importer_study, flow.importer_importeddata, authenticationService)
     523                ImporterService.saveDatamatrix(flow.importer_study, flow.importer_importeddata, authenticationService, log)
    524524
    525525                //}
Note: See TracChangeset for help on using the changeset viewer.