You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/03/23 17:32:00 UTC

[jira] [Updated] (CAMEL-16393) results from $.concat(...) seems to be cached on following calls

     [ https://issues.apache.org/jira/browse/CAMEL-16393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino updated CAMEL-16393:
-------------------------------------
    Fix Version/s: 3.10.0
                   3.7.4
                   3.4.6
                   2.25.4

> results from $.concat(...) seems to be cached on following calls
> ----------------------------------------------------------------
>
>                 Key: CAMEL-16393
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16393
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jsonpath
>    Affects Versions: 2.25.3
>            Reporter: Stefano Linguerri
>            Priority: Major
>             Fix For: 2.25.4, 3.4.6, 3.7.4, 3.10.0
>
>         Attachments: jsonpath-issue.zip
>
>
> The first result from $.concat(...) seems to be "cached"
> Eg, given json:
> {{{"payload": \{"id": 1, "first_name": "Marie", "last_name": "Rose" } }}}
> The expression:
> {{jsonpath("$.concat($.payload.first_name,\" \",$.payload.last_name)")}}
> Will always returns _Marie Rose_ on following calls with different values in the input json.
> Please find attached reproducer maven project with junit test.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)