You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/15 19:23:13 UTC

[jira] [Commented] (NIFI-49) If Processor's Property's Default Value is not allowed, the Exception thrown should indicate what the default value is

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

ASF subversion and git services commented on NIFI-49:
-----------------------------------------------------

Commit f0bea5c156fa0bfc1d7773ae45ea73ba594ba77a in incubator-nifi's branch refs/heads/NIFI-49 from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=f0bea5c ]

NIFI-49: include name of default value if it is not allowed in a property descriptor


> If Processor's Property's Default Value is not allowed, the Exception thrown should indicate what the default value is
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-49
>                 URL: https://issues.apache.org/jira/browse/NIFI-49
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>            Priority: Minor
>             Fix For: 0.0.1
>
>         Attachments: defaultValue.patch
>
>
> Currently, we get the following error when the default value is not valid:
> ...
> Cause by: java.lang.IllegalStateException: Default value is not in the set of allowable values
> This should indicate what that Default Value actually is. This is particularly important if we have a collection of dynamically created Allowable Values and use the first one as the default, for example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)