gabriel-farache opened a new issue, #532:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/532

   ### 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?
   
   1. Apply the manifest 
[04-sonataflow_m2k.zip](https://github.com/user-attachments/files/16966035/04-sonataflow_m2k.zip)
   2. 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_


-- 
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]

Reply via email to