You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2016/06/07 17:35:21 UTC
[jira] [Updated] (NIFI-1828) PropertyDescriptor should use display
name when doing validation
[ https://issues.apache.org/jira/browse/NIFI-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy LoPresto updated NIFI-1828:
--------------------------------
Fix Version/s: 0.7.0
1.0.0
> 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
> Fix For: 1.0.0, 0.7.0
>
>
> 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)