Revision 48621fdd
Added by Katja Luther about 7 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java | ||
---|---|---|
132 | 132 |
* @throws ReferencedObjectUndeletableException */ |
133 | 133 |
@Override |
134 | 134 |
public boolean delete(Reference entity, DeleteConfiguratorBase config) throws ReferencedObjectUndeletableException { |
135 |
return CdmStore.getService(IReferenceService.class).delete(entity.getUuid()) != null; |
|
135 |
if (entity.getUuid() != null){ |
|
136 |
return CdmStore.getService(IReferenceService.class).delete(entity.getUuid()) != null; |
|
137 |
}else{ |
|
138 |
return false; |
|
139 |
} |
|
136 | 140 |
} |
137 | 141 |
|
138 | 142 |
/** {@inheritDoc} */ |
Also available in: Unified diff
fix deletion of new created entities in bulk editor