Changeset 879

Show
Ignore:
Timestamp:
08-09-10 14:54:13 (4 years ago)
Author:
keesvb
Message:

adjusted save order in BootStrap? of some sampling events

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/application.properties

    r841 r879  
    1111plugins.jquery=1.4.2.5 
    1212plugins.mail=0.9 
    13 plugins.nadd-neutralizer=0.3 
    1413plugins.nimble=0.4-SNAPSHOT 
    1514plugins.searchable=0.5.5.1 
  • trunk/grails-app/conf/BootStrapStudies.groovy

    r854 r879  
    406406                rootGroup.save() 
    407407 
     408                humanStudy.addToEvents(fastingEvent) 
     409                humanStudy.addToSamplingEvents(bloodSamplingEventBefore) 
     410                humanStudy.addToSamplingEvents(bloodSamplingEventAfter) 
     411                humanStudy.addToEventGroups rootGroup 
     412 
     413                humanStudy.save()                
     414 
    408415                def y = 1 
    409416                11.times { 
     
    451458                } 
    452459 
    453                 humanStudy.addToEvents(fastingEvent) 
    454                 humanStudy.addToSamplingEvents(bloodSamplingEventBefore) 
    455                 humanStudy.addToSamplingEvents(bloodSamplingEventAfter) 
    456                 humanStudy.addToEventGroups rootGroup 
    457  
    458460                println ".adding persons and saving PPSH study..." 
    459461                // Add persons to study