ref #8013 proper loading of reference to be used in RegistrationDTO constructor
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Mon, 28 Jan 2019 17:21:08 +0000 (18:21 +0100)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Mon, 28 Jan 2019 17:21:08 +0000 (18:21 +0100)
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkingsetPresenter.java

index 1d298871e604010a8abb831aa321432c6f982bcb..0b887ee415cb64b1a214dae9bb57cddddd1d3ba0 100644 (file)
@@ -553,7 +553,7 @@ public class RegistrationWorkingsetPresenter extends AbstractPresenter<Registrat
         TaxonName typifiedName = getView().getAddExistingNameCombobox().getValue();
         if(typifiedName != null){
             boolean doReloadWorkingSet = false;
-            Reference citation = getRepo().getReferenceService().find(workingset.getCitationUuid());
+            Reference citation = getRepo().getReferenceService().load(workingset.getCitationUuid(), Arrays.asList("authorship.$", "inReference.authorship.$"));
             // here we completely ignore the ExistingNameRegistrationType since the user should not have the choice
             // to create a typification only registration in the working (publication) set which contains
             // the protologe. This is known from the nomenclatural reference.