Changeset 567 for trunk/grails-app/conf


Ignore:
Timestamp:
Jun 16, 2010, 1:55:55 PM (11 years ago)
Author:
duh
Message:
  • developmental commit for bug # 107

-- turning off all bootstrapping to ensure that all possible bugs do really surface and are not obscured by bootstrap hacks / dummy data
-- SelectAddMore?.js now support the passing of multiple values to a dialog
-- in the subject page of the wizard the template select now opens a dialog passing on the entity AND the ontologies
-- templateEditor has been extended to pass ontologies as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r564 r567  
    2222
    2323                // we could also check if we are in development by GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT
    24                 if (Study.count() == 0) {
     24                if (Study.count() == 0 && false) {
    2525                        println ".development bootstrapping...";
    2626
     
    11061106
    11071107                        }
     1108
     1109                        // Ontologies must be connected to the templatefields in runtime
     1110                        // because the Ontology.findByNcboId is not available otherwise
     1111                        TemplateEntity.getField(Subject.domainFields, 'species').ontologies = [Ontology.findByNcboId(1132)]
     1112                        TemplateEntity.getField(Sample.domainFields, 'material').ontologies = [Ontology.findByNcboId(1005)]
    11081113                }
    1109 
    1110                 // Ontologies must be connected to the templatefields in runtime
    1111                 // because the Ontology.findByNcboId is not available otherwise
    1112                 TemplateEntity.getField(Subject.domainFields, 'species').ontologies = [Ontology.findByNcboId(1132)]
    1113                 TemplateEntity.getField(Sample.domainFields, 'material').ontologies = [Ontology.findByNcboId(1005)]
    1114 
    11151114        }
    11161115
Note: See TracChangeset for help on using the changeset viewer.