You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2016/07/27 22:31:20 UTC

[jira] [Commented] (NIFI-2391) Add toString() implementation to ComponentDTO

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

Joseph Witt commented on NIFI-2391:
-----------------------------------

[~ozhurakousky] be advised that in NIFI-2339 we removed or made more vague some of these toString elements.  What you propose above looks fine just be careful that toString isn't used to leak details one might not be authorized to see.  At times toString results could end up in exception stacks revealed in the UI.  Not saying that is good either.

> Add toString() implementation to ComponentDTO
> ---------------------------------------------
>
>                 Key: NIFI-2391
>                 URL: https://issues.apache.org/jira/browse/NIFI-2391
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Core Framework
>            Reporter: Oleg Zhurakousky
>            Assignee: Oleg Zhurakousky
>             Fix For: 1.0.0
>
>
> While working on deterministic templates and some of the follow up issues after it makes it increasingly difficult to debug without more informative toString implementation. 
> For now I'll go with "[Simple Class Name]:[Component ID] scheme. For example:
> {code}
> ProcessorDTO:59595eb1-7296-4db1-bb06-012705f5a698
> {code}



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