-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When applying the enclosed sonataflow CR, the following error is thrown:
The SonataFlow "m2k" is invalid: spec.flow.states[12].metadata.errorMessage: Invalid value: "string": spec.flow.states[12].metadata.errorMessage in body must be of type object: "string"
I removed the setting of the metadata from the CR and the apply works.
When the workflow runs with the image containing the errorMessage
metadata, there is no issue and the workflow behave as expected, I think this is purely an issue on the operator side
Expected behavior
No issue when applying the manifest
Actual behavior
Unexpected error
The SonataFlow "m2k" is invalid: spec.flow.states[12].metadata.errorMessage: Invalid value: "string": spec.flow.states[12].metadata.errorMessage in body must be of type object: "string"
while applying the manifest
How to Reproduce?
- Apply the manifest 04-sonataflow_m2k.zip
- See the error
Output of uname -a
or ver
No response
Golang version
No response
Operator-sdk version
No response
SonataFlow Operator version or git rev
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
🎯 Done