Changeset 1677 for trunk


Ignore:
Timestamp:
Mar 28, 2011, 12:35:23 PM (9 years ago)
Author:
robert@…
Message:

Small fix for simple wizard importer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/importer/ImporterService.groovy

    r1621 r1677  
    270270                def table = []
    271271                def failedcells = [] // list of cells that have failed to import
     272               
    272273                // First check for each record whether an entity in the database should be updated,
    273274                // or a new entity should be added. This is done before any new object is created, since
     
    627628                        if( event ) {
    628629                                def evGroup = new EventGroup();
     630
     631                                sample.parentEventGroup = evGroup;
    629632                                evGroup.addToEvents( event );
     633                               
    630634                                if( subject ) evGroup.addToSubjects( subject );
    631635                                if( samplingEvent ) evGroup.addToSamplingEvents( samplingEvent );
    632636
    633                                 sample.parentEventGroup = evGroup;
    634637                        }
    635638
Note: See TracChangeset for help on using the changeset viewer.