[
https://issues.apache.org/jira/browse/NIFI-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667626#comment-15667626
]
ASF subversion and git services commented on NIFI-2684:
-------------------------------------------------------
Commit ef2c50577dd07a7850c06d5d0666152590ac5fd7 in nifi's branch
refs/heads/master from Andre F de Miranda
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ef2c505 ]
NIFI-2684 - Change AbstractConfigurableComponent to use displayName when
available
> Validation error messages should refer to propertyDescriptor using its
> displayName
> ----------------------------------------------------------------------------------
>
> Key: NIFI-2684
> URL: https://issues.apache.org/jira/browse/NIFI-2684
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: Andre
> Assignee: Andre
> Fix For: 1.1.0
>
>
> When certain validation violation are triggered,
> {{AbstractConfigurableComponent}} refers to the descriptor using
> {{descriptor.getName()}}
> the result is that error messages end up referring to properties by sometimes
> cryptic names (instead of the "pretty names" defined in {{.displayName}} )
> Users would be better of if we used {{displayName}} on error messages when
> available, but to fallback to names in case displayName is null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)