Changeset 1220

Show
Ignore:
Timestamp:
30-11-10 10:53:15 (3 years ago)
Author:
adem.bilican@…
Message:

error in the SimpleTox? exporter for parentSubject attribut

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/exporter/ExporterController.groovy

    r1219 r1220  
    227227        sub.createCell((short)6).setCellValue(study.title) 
    228228        // Species row 9 
    229         sample.parentSubject.species.name!=null ? sub.createCell((short)8).setCellValue(sample.parentSubject.species.name) : "not defined" 
     229//        sample.parentSubject.species.name!=null ? sub.createCell((short)8).setCellValue(sample.parentSubject.species.name) : "not defined" 
     230        sample.parentSubject ? sub.createCell((short)8).setCellValue(sample.parentSubject.species.name) : "not defined" 
    230231    } 
    231232