-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid serializing empty strings #1022
Labels
bug
Something isn't working
canvas/config-form
Configuration form related issues
good first issue
Good for newcomers
help wanted
Extra attention is needed
source code editor
Source Code Editor-related issues
Milestone
Comments
lordrip
added
good first issue
Good for newcomers
help wanted
Extra attention is needed
source code editor
Source Code Editor-related issues
canvas/config-form
Configuration form related issues
labels
Apr 18, 2024
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Apr 23, 2024
Currently, when a string field is touched and later on clean, the resulting YAML looks like the following: ``` property: '' ``` And this represents an issue since many properties can't be left blank. This commit avoids serializing empty `''` strings by replace them with `undefined` instead. fix: KaotoIO#1022
lordrip
added a commit
that referenced
this issue
Apr 23, 2024
Currently, when a string field is touched and later on clean, the resulting YAML looks like the following: ``` property: '' ``` And this represents an issue since many properties can't be left blank. This commit avoids serializing empty `''` strings by replace them with `undefined` instead. fix: #1022
This looks like is happening again, reopening. |
Reopening issue as there another case to take into account |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
canvas/config-form
Configuration form related issues
good first issue
Good for newcomers
help wanted
Extra attention is needed
source code editor
Source Code Editor-related issues
Describe the Bug
In case a string field is touched and later on clean, the resulting YAML looks like the following:
This is an issue for the expression field in which the resultType property gets an empty string and it makes the route to fail.
Steps to Reproduce the Bug or Issue
setHeader
EIP, edit theresultType
propertyresultType
property is now an empty stringScreenshots or Videos
No response
Platform
The text was updated successfully, but these errors were encountered: