Revision 9ee079fa
Added by Andreas Kohlbecker over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/iapt/IAPTActivator.java | ||
---|---|---|
40 | 40 |
public static final String DATA_ENCODING_PROBLEMS = "encoding-problems.xls"; |
41 | 41 |
public static final String DATA_IAPT_TYPES_100 = "iapt-types-100.xls"; |
42 | 42 |
public static final String DATA_TYPE_LEG_100 = "iapt-type-leg-100.xls"; |
43 |
public static final String DATA_FILE = DATA_FILE_0_100;
|
|
43 |
public static final String DATA_FILE = DATA_FILE_FULL;
|
|
44 | 44 |
|
45 | 45 |
//database validation status (create, update, validate ...) |
46 | 46 |
static DbSchemaValidation hbm2dll = DbSchemaValidation.CREATE; |
app-import/src/main/java/eu/etaxonomy/cdm/io/iapt/IAPTExcelImport.java | ||
---|---|---|
310 | 310 |
FieldUnit fieldUnit = parseFieldUnit(fieldUnitStr, regNumber, state); |
311 | 311 |
if(fieldUnit == null) { |
312 | 312 |
// create a field unit with only a titleCache using the fieldUnitStr substring |
313 |
logger.warn(csvReportLine(regNumber, "Type: fielUnitStr can not be parsed", fieldUnitStr)); |
|
313 |
logger.warn(csvReportLine(regNumber, "Type: fieldUnitStr can not be parsed", fieldUnitStr));
|
|
314 | 314 |
fieldUnit = FieldUnit.NewInstance(); |
315 | 315 |
fieldUnit.setTitleCache(fieldUnitStr, true); |
316 | 316 |
getOccurrenceService().save(fieldUnit); |
Also available in: Unified diff
ref #6026 support for making statistics on parsed type data - typo