exceptionfactory commented on PR #9617:
URL: https://github.com/apache/nifi/pull/9617#issuecomment-2581110733
> I added EL support and tried a couple EL statements. They do not seem to
generate the required format, e.g. "10 B". The following do not work:
>
> ${random():mod(10):plus(1):append(" B")} ${random():mod(10):plus(1)} B
>
> java.lang.IllegalArgumentException: Invalid data size:
${random():mod(10):plus(1):append(" B")} java.lang.IllegalArgumentException:
Invalid data size: ${random():mod(10):plus(1)} B
The validator needs to be changed in order to accept EL, in addition to
directly-declared sizes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]