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/NomenclaturalReferenceSelectionDialog.java
39 39
            pattern = ((Text)control).getText();
40 40
        }
41 41

  
42

  
43
		model = CdmStore.getService(IReferenceService.class).getUuidAndAbbrevTitleCache(limitOfInitialElements, pattern);
42
        if (pattern == null || pattern.equals("?")){
43
            model = CdmStore.getService(IReferenceService.class).getUuidAndAbbrevTitleCache(null, null);
44
        }else{
45
            model = CdmStore.getService(IReferenceService.class).getUuidAndAbbrevTitleCache(limitOfInitialElements, pattern);
46
        }
44 47
	}
45 48

  
46 49
	/**

Also available in: Unified diff