Revision 2260591f
Added by Andreas Kohlbecker almost 7 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationWorkflowPresenter.java | ||
---|---|---|
55 | 55 |
@EventListener |
56 | 56 |
protected void onRegistrationStartEvent(RegistrationWorkflowEvent event){ |
57 | 57 |
|
58 |
if(workingset != null){ |
|
59 |
Logger.getLogger(RegistrationWorkflowPresenter.class).warn("Cant start a new workflow over an existing one."); |
|
58 |
boolean HACK = true; |
|
59 |
if(workingset != null && !HACK){ |
|
60 |
Logger.getLogger(RegistrationWorkflowPresenter.class).warn("Can't start a new workflow over an existing one."); |
|
60 | 61 |
return; |
61 | 62 |
} |
62 | 63 |
|
63 |
|
|
64 | 64 |
if(event.isStart()) { |
65 | 65 |
workingset = new RegistrationWorkingSet(); |
66 | 66 |
Registration reg = new Registration(); |
Also available in: Unified diff
ref #6169 ReferenceEditor with custom component for TimePeriods