Revision 567bec63
Added by Andreas Müller about 3 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AbstractBulkEditorInput.java | ||
---|---|---|
269 | 269 |
try { |
270 | 270 |
UUID uuid = UUID.fromString(titleSearchString); |
271 | 271 |
T entity = loadEntity(uuid); |
272 |
//UUID search found -> add entity to list and return |
|
273 |
model.add(entity); |
|
272 |
//UUID search found -> add entity to list if not null and return |
|
273 |
if (entity != null){ |
|
274 |
model.add(entity); |
|
275 |
} |
|
274 | 276 |
return; |
275 | 277 |
} catch (IllegalArgumentException e) { |
276 | 278 |
// search string was no UUID |
Also available in: Unified diff
fix #6469 handle null value for bulk editor UUID search