Changeset 1218


Ignore:
Timestamp:
Nov 30, 2010, 10:45:55 AM (6 years ago)
Author:
adem.bilican@…
Message:

error in the SimpleTox? exporter

File:
1 edited

Legend:

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

    r1217 r1218  
    207207    def writeMandatoryFields(sub,sample,study) {
    208208        // adding subject name in row 1
    209         sample.parentSubject.name ? sub.createCell((short)0).setCellValue(sample.parentSubject.name) : "not defined"
     209        sample.parentSubject ? sub.createCell((short)0).setCellValue(sample.parentSubject.name) : "not defined"
    210210        // adding sample in row 4
    211211        sample.name!=null ? sub.createCell((short)3).setCellValue(sample.name) : "not defined"
Note: See TracChangeset for help on using the changeset viewer.