Revision 76fe3732
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/annotatedlineeditor/AnnotatedLineDocumentProvider.java | ||
---|---|---|
237 | 237 |
if (annotation instanceof IEntityContainer<?>) { |
238 | 238 |
IEntityContainer<?> container = (IEntityContainer<?>) annotation; |
239 | 239 |
if (container.isMarkedAsNew() || container.isDirty()) { |
240 |
persistenceService.save(container.getEntity()); // save |
|
240 |
Object entity = persistenceService.save(container.getEntity()); // save |
|
241 |
container.setEntity(entity); |
|
241 | 242 |
container.setDirty(false); |
242 | 243 |
container.markAsNew(false); |
243 | 244 |
} |
Also available in: Unified diff
#5161 Fix problem of new entity not refreshed