Project

General

Profile

« Previous | Next » 

Revision 235fd63d

Added by Katja Luther over 7 years ago

fix #6342: fix exception when using ? in selection dialog

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/TaxonNodeSelectionDialog.java
149 149
			    selectedClassification = this.cdmBaseToBeFiltered.getClassification();
150 150
			}
151 151
		}
152

  
153
		//FIXME prelim
154
		pattern = pattern + "*";
155
		model = CdmStore.getService(IClassificationService.class).getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(selectedClassification.getUuid(),  limitOfInitialElements, pattern);
152
		if (pattern == null || pattern.equals("?")){
153
		    model = CdmStore.getService(IClassificationService.class).getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(selectedClassification.getUuid(),  limitOfInitialElements, pattern);
154
		}else{
155
		    model = CdmStore.getService(IClassificationService.class).getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(selectedClassification.getUuid(),  null, null);
156
		}
156 157
	}
157 158

  
158 159
	/** {@inheritDoc} */

Also available in: Unified diff