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/NameSelectionDialog.java
54 54
            pattern = ((Text)control).getText();
55 55
        }
56 56

  
57

  
58
		model = CdmStore.getService(INameService.class).getUuidAndTitleCache(limitOfInitialElements, pattern);
57
        if (pattern.equals("?")){
58
            model = CdmStore.getService(INameService.class).getUuidAndTitleCache(null, null);
59
        }else{
60
            model = CdmStore.getService(INameService.class).getUuidAndTitleCache(limitOfInitialElements, pattern);
61
        }
59 62
	}
60 63

  
61 64
	/** {@inheritDoc} */

Also available in: Unified diff