Changeset 1376 for trunk/grails-app/services
- Timestamp:
- Jan 12, 2011, 3:59:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/importer/ImporterService.groovy
r1367 r1376 440 440 switch (mc.entity) { 441 441 case Study: // does the entity already exist in the record? If not make it so. 442 (record.any {it.getClass() == mc.entity}) ? 0 : record.add(study) 442 (record.any {it.getClass() == mc.entity}) ? 0 : record.add(study) 443 443 study.setFieldValue(mc.property, value) 444 444 break … … 458 458 break 459 459 } // end switch 460 } catch (IllegalArgumentException iae) { 460 } catch (Exception iae) { 461 log.error ".import wizard error could not set property `" + mc.property + "` to value `" + value + "`" 461 462 // store the mapping column and value which failed 462 463 def identifier
Note: See TracChangeset
for help on using the changeset viewer.