Project

General

Profile

« Previous | Next » 

Revision b8f5bd94

Added by Andreas Müller almost 13 years ago

some minor bugfixes

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/dwca/out/DwcaTypesExport.java
114 114
					handleTypeName(writer, synonym, nvn);
115 115
				}
116 116
				
117
				//FIXME
118
				//Determinations
119
				
117 120
				
118 121
				writer.flush();
119 122
				
......
162 165
		record.setCoreid(taxonBase.getId());
163 166
		record.setBibliographicCitation(facade.getTitleCache());
164 167
		record.setTypeStatus(status);
165
		record.setTypeDesignatedBy(designation == null? null: designation.getCitation().getTitleCache());
168
		record.setTypeDesignatedBy( (designation == null || designation.getCitation()==null)? null: designation.getCitation().getTitleCache());
166 169
		
167 170
		TaxonNameBase scientificName = getScientificName(facade);
168 171
		if (scientificName != null){
......
171 174
		}
172 175
		
173 176
		record.setOccurrenceId(facade.innerDerivedUnit().getUuid().toString());
174
		
175 177
		Collection collection = facade.getCollection();
176 178
		if (collection != null){
177 179
			record.setCollectionCode(collection.getCode());

Also available in: Unified diff