Revision bc94b935
Added by Andreas Kohlbecker about 7 years ago
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
ref #6169 workflowview working with Registration mock objects