Ignore:
Timestamp:
Sep 21, 2010, 10:58:35 AM (10 years ago)
Author:
keesvb
Message:

fixed multiple bugs in importer, really implemented the header and start row functionality, updated Ontology setter with proper error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/TemplateEntity.groovy

    r881 r897  
    625625                                        value = term
    626626                                }
     627                                // TODO: search ontology for the term online (it may still exist) and insert it into the Term cache
     628                                // if not found, throw exception
     629                                else {
     630                                        throw new IllegalArgumentException("Ontology term not recognized (not in the GSCF ontology cache): ${value} when setting field ${fieldName}")
     631                                }
    627632                        }
    628633                }
Note: See TracChangeset for help on using the changeset viewer.