Joerg created NIFI-15228:
----------------------------

             Summary: Documentation of EL Operation repeat is wrong (section 
examples)
                 Key: NIFI-15228
                 URL: https://issues.apache.org/jira/browse/NIFI-15228
             Project: Apache NiFi
          Issue Type: Bug
          Components: Documentation & Website
    Affects Versions: 2.6.0
         Environment: Any
            Reporter: Joerg


The documentation of EL operation "repeat" section Examples - last Example - is 
wrong.
[https://nifi.apache.org/nifi-docs/expression-language-guide.html#repeat]

Is:
|{{${str:repeat( ${str:length()} )}}}|{{abc}} or {{abcabc}} or {{abcabcabc}} 
(at random)|

Should be a) or b).

a) 
|{{${str:repeat(1, ${str:length()} )}}}|{{abc}} or {{abcabc}} or {{abcabcabc}} 
(at random)|

 

b)
|{{${str:repeat( ${str:length()} )}}}|{{{}{}}}{{{}abcabcabc{}}}|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to