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

Aldrin Piri commented on NIFI-716:
----------------------------------

When you say copy and paste, are you talking about copying and pasting property 
descriptor declaration, changing its variable name and then adding that to the 
supported property descriptors list, but forgetting to update its name?

For illustration, this could result in having two items in your processor 
configuration labeled as "username" even though the backing variables in code 
are username and apiKey?


> Framework allows you to define two properties with the same name
> ----------------------------------------------------------------
>
>                 Key: NIFI-716
>                 URL: https://issues.apache.org/jira/browse/NIFI-716
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.1.0
>            Reporter: Dan Bress
>            Priority: Minor
>
> If you are lazy and copy and paste a PropertyDescriptor and forget to change 
> its name, the framework(test or regular) does not detect this and proceeds 
> happily.
> It would be great if this situation was detected as soon as possible, and 
> either mark the processor as invalid, or fail to consider it as a possible 
> processor.



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

Reply via email to