[ 
https://issues.apache.org/jira/browse/NIFI-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Bende updated NIFI-1828:
------------------------------
    Description: 
When PropertyDescriptor calls the validators for the given property, it passes 
getName() as the subject, which means the regular name will be used in the 
validation message in the UI. This should be the display name for cases when 
the regular name is not a user friendly name.

One place where this occurs:
https://github.com/apache/nifi/blob/master/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java#L147

  was:When PropertyDescriptor calls the validators for the given property, it 
passes getName() as the subject, which means the regular name will be used in 
the validation message in the UI. This should be the display name for cases 
when the regular name is not a user friendly name.


> PropertyDescriptor should use display name when doing validation
> ----------------------------------------------------------------
>
>                 Key: NIFI-1828
>                 URL: https://issues.apache.org/jira/browse/NIFI-1828
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.6.1
>            Reporter: Bryan Bende
>            Priority: Minor
>
> When PropertyDescriptor calls the validators for the given property, it 
> passes getName() as the subject, which means the regular name will be used in 
> the validation message in the UI. This should be the display name for cases 
> when the regular name is not a user friendly name.
> One place where this occurs:
> https://github.com/apache/nifi/blob/master/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java#L147



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

Reply via email to