Project

General

Profile

Revision cb426588

IDcb426588993d36f28edff82d87254828e9e41e86
Parent 1caf3f63
Child ee699257

Added by Andreas Kohlbecker over 2 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

Add picture from clipboard (Maximum size: 40 MB)