Project

General

Profile

Revision 4124987e

ID4124987eb8c7931e3ce9516daed39e425f96e073
Parent adb55b39
Child 1994060f

Added by Andreas Kohlbecker over 1 year ago

fix #7249

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/name/NameTypeDesignationPresenter.java
181 181

  
182 182
    @Override
183 183
    protected void deleteBean(NameTypeDesignation bean){
184
        DeleteResult deletResult = getRepo().getNameService().deleteTypeDesignation(typifiedNameInContext, bean);
184
        // deleteTypedesignation(uuid, uuid) needs to be called so the name is loaded in the transaction of the method and is saved.
185
        DeleteResult deletResult = getRepo().getNameService().deleteTypeDesignation(typifiedNameInContext.getUuid(), bean.getUuid());
185 186
        if(deletResult.isOk()){
186 187
            EntityChangeEvent changeEvent = new EntityChangeEvent(bean.getClass(), bean.getId(), Type.REMOVED, (AbstractView) getView());
187 188
            viewEventBus.publish(this, changeEvent);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)