Changeset 810


Ignore:
Timestamp:
Aug 16, 2010, 12:14:48 PM (10 years ago)
Author:
duh
Message:
  • added some more debugging lines to eventGroup deletion method
File:
1 edited

Legend:

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

    r807 r810  
    300300                                // -------
    301301
    302                                 println ".removing sample "+it
     302                                println ".removing sample '${it.name}' from study '${this.name}'"
    303303                                msg += ", sample '${it.name}' was deleted"
    304304                                this.removeFromSamples( it )
     
    309309                eventGroup.samplingEvents.findAll{}.each() {
    310310                        eventGroup.removeFromSamplingEvents(it)
     311                        println ".removed samplingEvent '${it.name}' from eventGroup '${eventGroup.name}'"
    311312                        msg += ", samplingEvent '${it.name}' was removed from eventGroup '${eventGroup.name}'"
    312313                }
     
    315316                eventGroup.subjects.findAll{}.each() {
    316317                        eventGroup.removeFromSubjects(it)
     318                        println ".removed subject '${it.name}' from eventGroup '${eventGroup.name}'"
    317319                        msg += ", subject '${it.name}' was removed from eventGroup '${eventGroup.name}'"
    318320                }
    319321
    320322                // remove the eventGroup from the study
     323                println ".remove eventGroup '${eventGroup.name}' from study '{$this.name}'"
    321324                this.removeFromEventGroups(eventGroup)
    322325
Note: See TracChangeset for help on using the changeset viewer.