nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-3442) FTPTransfer tries to evaluate PORT as expression language, although property doesn't support EL
Date Mon, 06 Feb 2017 14:54:41 GMT

    [ https://issues.apache.org/jira/browse/NIFI-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854149#comment-15854149
] 

ASF GitHub Bot commented on NIFI-3442:
--------------------------------------

Github user trixpan commented on the issue:

    https://github.com/apache/nifi/pull/1474
  
    @markap14 you may want to have a look
    
    note that in the case of transfer method I simply removed the EL evaluation. Happy to
follow the opposite approach if needed


> FTPTransfer tries to evaluate PORT as expression language, although property doesn't
support EL
> -----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-3442
>                 URL: https://issues.apache.org/jira/browse/NIFI-3442
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.7.1, 1.1.1
>            Reporter: Andre
>            Assignee: Andre
>
> while crafting test coverage for PutFTP I noticed the following error:
> java.lang.AssertionError: java.lang.IllegalStateException: Attempting to Evaluate Expressions
but PropertyDescriptor[Port] indicates that the Expression Language is not supported. If you
realize that this is the case and do not want this error to occur, it can be disabled by calling
TestRunner.setValidateExpressionUsage(false)
> Root cause seems to be a disconnect between the property builder (EL = false) and the
attempt  to evaluate the property as part of client.connect



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message