Closed
Description
What happened:
The artifact published into maven central repository seems that is not compiled with the latest changes.
How to reproduce it:
Download the binary from:
- https://repo1.maven.org/maven2/io/serverlessworkflow/serverlessworkflow-validation/4.0.3.Final/serverlessworkflow-validation-4.0.3.Final.jar
- https://repo1.maven.org/maven2/io/serverlessworkflow/serverlessworkflow-validation/4.0.3.Final/serverlessworkflow-validation-4.0.3.Final-sources.jar
And review if the latest changes are applied.
For example, If you go to WorkflowValidatorImpl.java
file to line 333, the code must be the next:
if (!haveFunctionDefinition(
callbackState.getAction().getFunctionRef().getRefName(), functions)) {
addValidationError(
"CallbackState action function ref does not reference a defined workflow function definition",
ValidationError.WORKFLOW_VALIDATION);
}
But the code seems that is the old version.
Environment:
- Specification version used: serverlessworkflow-validation-4.0.3.Final
Metadata
Metadata
Assignees
Labels
No labels