[
https://issues.apache.org/jira/browse/NIFI-15228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-15228:
------------------------------------
Status: Patch Available (was: In Progress)
> 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
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)