fjtirado commented on code in PR #4003:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4003#discussion_r2256798319
##########
jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/WorkflowProcessInstanceImpl.java:
##########
@@ -682,7 +682,7 @@ public void signalEvent(String type, Object event) {
logger.debug("Signal {} received with data {} in process instance {}",
type, event, getStringId());
synchronized (this) {
if (getState() != KogitoProcessInstance.STATE_ACTIVE) {
- return;
+ throw new IllegalStateException("Current process instance
state is not active");
Review Comment:
After talking with @elguardian, the original return is not correct either,
so lets wait for CI result
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]