Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14457

Wrong expression format when creating Select/Filter expression with UI

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • fuse-7.x-GA
    • fuse-7.9-GA
    • Atlas Map
    • None

    Description

      I hit a problem, when creating mapping with expression with Filter and Select, which caused camel route using generated mapping not to work correctly.

      This is the current state of the output mapping expression format:

      "expression" : "SELECT(FILTER(${sourceArrays:/jsonObjects<>},${sourceArrays:/jsonObjects<>/key}>4),${sourceArrays:/jsonObjects<>/value})",
      

       

       

      According to this comment, the format should look like this (changing it to this format also seems to work in camel route):

       

      "expression" : "SELECT(FILTER(${sourceArrays:/jsonObjects<>},${/key}>4),${/value})",
      

       

       

      Attachments

        Activity

          People

            rhn-support-pleacu Paul Leacu
            tplevko@redhat.com Tomas Plevko
            Matej Kralik Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: