Skip to content
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

YAML parse error if asterisk is not quoted #2006

Open
igarashitm opened this issue Feb 13, 2025 · 0 comments
Open

YAML parse error if asterisk is not quoted #2006

igarashitm opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@igarashitm
Copy link
Contributor

igarashitm commented Feb 13, 2025

Describe the Bug

For example
https://github.com/apache/camel-k-examples/blob/main/generic-examples/kamelets/error-handler/kamelet-binding-error-handler.yaml#L44-L45

Error in console

chunk-5FY4X4BZ.js?v=aa7e86d5:582 Uncaught ReferenceError: Unresolved alias (the anchor must be set before the alias): **
    at Alias.toJSON (chunk-5FY4X4BZ.js?v=aa7e86d5:582:13)
    at toJS (chunk-5FY4X4BZ.js?v=aa7e86d5:499:20)
    at addPairToJSMap (chunk-5FY4X4BZ.js?v=aa7e86d5:1534:23)
    at YAMLMap.toJSON (chunk-5FY4X4BZ.js?v=aa7e86d5:1870:7)
    at toJS (chunk-5FY4X4BZ.js?v=aa7e86d5:499:20)
    at addPairToJSMap (chunk-5FY4X4BZ.js?v=aa7e86d5:1534:23)
    at YAMLMap.toJSON (chunk-5FY4X4BZ.js?v=aa7e86d5:1870:7)
    at toJS (chunk-5FY4X4BZ.js?v=aa7e86d5:499:20)
    at addPairToJSMap (chunk-5FY4X4BZ.js?v=aa7e86d5:1534:23)
    at YAMLMap.toJSON (chunk-5FY4X4BZ.js?v=aa7e86d5:1870:7)

It successfully parses once asterisk are double quoted

Steps to Reproduce the Bug or Issue

  1. Paste the kameletbinding yaml above as a Pipe source

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 0.30.0]
@igarashitm igarashitm added the bug Something isn't working label Feb 13, 2025
@lordrip lordrip moved this from New to Backlog in Kanban Board Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant