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

[BUG] YAML is rewritten after a sync #479

Closed
Croway opened this issue Feb 23, 2023 · 3 comments · Fixed by #510
Closed

[BUG] YAML is rewritten after a sync #479

Croway opened this issue Feb 23, 2023 · 3 comments · Fixed by #510
Assignees
Labels
bug Something isn't working

Comments

@Croway
Copy link
Contributor

Croway commented Feb 23, 2023

Describe the bug
When pasting YAML routes Kaoto rewrites the route after a sync

To Reproduce
Steps to reproduce the behavior:

  1. Go to kaoto
  2. Click on Source Code
  3. Paste the following content https://pastebin.com/5GjkzGfN
  4. Click Sync your code
  5. The route is rewritten

Expected behavior
The YAML should not be modified and the route should be displayed on the UI

Additional context
Here you can find simpler routes that have a similar issue https://pastebin.com/whLSSjGF https://pastebin.com/PGTzqY1h

@Croway Croway added the bug Something isn't working label Feb 23, 2023
@lhein
Copy link

lhein commented Feb 23, 2023

sounds a bit related to #666. Data loss is always bad.

@Delawen Delawen self-assigned this Feb 23, 2023
@Delawen
Copy link
Collaborator

Delawen commented Feb 23, 2023

@lhein losing invalid data is not bad. But I am not going to go down that rabbit hole again because this doesn't seem related to that.

@lhein
Copy link

lhein commented Mar 6, 2023

You will at some point have to go down that rabbit hole again. There is no way around, trust me.

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