Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-625

ReplaceText does not substitute Expression Language if embedded within curly braces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: Core Framework, Extensions
    • Labels:
      None

      Description

      It is unclear if this is a problem with the framework or the processor at this point. When I tried to replace "(.*)" with the json:

      {"id": "${nextInt()}", "text": "Hello"}

      The result was:

      {"id": "${nextInt()}", "text": "Hello"}

      However, if I remove the curly braces around the text I get:

      "id": "1", "text": "Hello"

      which is the desired behavior.

        Attachments

          Activity

            People

            • Assignee:
              markap14 Mark Payne
              Reporter:
              markap14 Mark Payne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: