Project

General

Profile

« Previous | Next » 

Revision cb426588

Added by Andreas Kohlbecker about 6 years ago

fix #7333 initializing blockedBy in newly created registrations to avoid LIEs

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java
169 169
        UserHelper.fromSession().createAuthorityForCurrentUser(Registration.class, event.getEntityId(), Operation.UPDATE, RegistrationStatus.PREPARATION.name());
170 170
        getRepo().commitTransaction(txStatus);
171 171
        // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172
        return getRepo().getRegistrationService().find(event.getEntityId());
172
        return getRepo().getRegistrationService().load(event.getEntityId(), Arrays.asList(new String []{"blockedBy"}));
173 173
    }
174 174

  
175 175

  

Also available in: Unified diff