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/09/23 16:30:00 UTC
[jira] [Created] (CAMEL-24963) simple - ${properties:key:default} with a default containing an operator word is parsed as a predicate
Claus Ibsen created CAMEL-24963:
-----------------------------------
Summary: simple - ${properties:key:default} with a default containing an operator word is parsed as a predicate
Key: CAMEL-24963
URL: https://issues.apache.org/jira/browse/CAMEL-24963
Project: Camel
Issue Type: Sub-task
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.23.0
Regression from CAMEL-24921 (edb3a1406c60, predicate inside ${ }). SimpleFunctionExpression runs the operatorsOutside check before any function factory; it skips a match when parentheses are open or quotes appear before the operator word, but not when the word is inside a property default value or inside brackets.
* (verified) {{${properties:msg:value is not set}}} now fails with "Binary operator is does not accept not on the right hand side". Before it returned the default value "value is not set".
* likely the same: {{${header[order in progress]}}}
Fix: skip the predicate-in-braces detection for function text such as properties defaults / bracket keys, and add tests.
_Claude Code on behalf of davsclaus (found by an AI review of the simple language source; each item marked (verified) was reproduced on main at c3ef718de2e8)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)