Project

General

Profile

Revision bc94b935

IDbc94b9352b69960beb7f01f46780a8e01fcf9f68
Parent b0fdf0ab
Child a6584bc2

Added by Andreas Kohlbecker over 3 years ago

ref #6169 workflowview working with Registration mock objects

View differences:

src/main/java/eu/etaxonomy/cdm/mock/RegistrationService.java
83 83
     * @return
84 84
     */
85 85
    public Registration loadByRegistrationID(Integer registrationID) {
86
        return registrationsByRegID.get(registrationID);
86
        return registrationsByRegID.get(registrationID.toString());
87 87
    }
88 88

  
89 89

  
src/main/java/eu/etaxonomy/cdm/vaadin/presenter/phycobank/RegistrationWorkflowPresenter.java
53 53
            registration = serviceMock.loadByRegistrationID(e.getRegistrationID());
54 54
        }
55 55
        if(registration != null){
56
            getView().getTitle().setValue(getView().getTitle().getValue() + " " + registrationType().name());
56
            getView().getTitle().setValue("Workflow for a " + registrationType().name());
57 57
            getView().makeWorflow(registrationType());
58 58
        }
59 59
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)