You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/08 20:36:00 UTC
[jira] [Assigned] (CAMEL-25472) camel-dataweave - make fail-fast trustworthy: reject trailing tokens, unknown header lines, unknown functions and free variables
[ https://issues.apache.org/jira/browse/CAMEL-25472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-25472:
-----------------------------------
Assignee: Claus Ibsen
> camel-dataweave - make fail-fast trustworthy: reject trailing tokens, unknown header lines, unknown functions and free variables
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-25472
> URL: https://issues.apache.org/jira/browse/CAMEL-25472
> Project: Camel
> Issue Type: Sub-task
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
>
> The parser returns after the first expression and silently drops the rest (payload mapObject ..., pluck, mod, zip, unless/otherwise, payload.'first-name' all become body; even {a:1} foo bar baz is accepted). Unknown header tokens, import lines and writer properties are skipped. Unknown functions and unknown variables are emitted as-is and fail at runtime. All of these must fail at conversion instead. Also: convertExpression does not emit the camel.libsonnet import, and the docs/upgrade guide overstate what is supported.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)