Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Add empty camelRoute using the code editor - replaced with [] #2056

Closed
tplevko opened this issue Jun 27, 2023 · 1 comment · Fixed by KaotoIO/kaoto-backend#759
Closed

Add empty camelRoute using the code editor - replaced with [] #2056

tplevko opened this issue Jun 27, 2023 · 1 comment · Fixed by KaotoIO/kaoto-backend#759
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tplevko
Copy link
Contributor

tplevko commented Jun 27, 2023

Describe the Bug

When the user adds empty camel route using the code editor - it gets replaced with empty square brackets - '[]'

Steps to Reproduce the Bug or Issue

  1. add following camel route to the editor:
  • route:
    from:
    uri: null
    steps: []
  1. sync code changes
  2. see the string above replaced with []

Screenshots or Videos

Peek 2023-06-27 13-40

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [latest]
@igarashitm
Copy link
Contributor

See #2090 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants