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

Matt Burgess commented on NIFI-6757:
------------------------------------

This seems to work if you explicitly set the controller service on the 
reporting task (change it away from its current value, Apply, then change it 
back and Apply), then open the CS (the Referencing component appears). However 
this does not happen on startup, if you configure the CS when the RT exists and 
refers to it, the RT does not show up as a Referencing Component.

Interestingly, even if you explicitly set the CS and see that indeed the RT is 
now a referencing component, if the CS1 is enabled and the RT is not, you can 
change the RT to point at a different CS2 and if you then Disable CS1, it still 
lists the RT as a referencing component and will give an error "Unable to find 
referencing component with id 3c5ac0d2-0178-1000-01ba-89637a7b1553" when trying 
to disable.

> Reporting Task Controller Services don't have the Reporting Task as a 
> referencing component
> -------------------------------------------------------------------------------------------
>
>                 Key: NIFI-6757
>                 URL: https://issues.apache.org/jira/browse/NIFI-6757
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Burgess
>            Priority: Major
>
> When enabling/disabling a Reporting Task Controller Service used by a 
> Reporting Task, the Reporting Task is not listed as a Referencing Component. 
> If disabling the CS, the Reporting Task is not disabled first, causing the 
> Reporting Task to continue running and attempting to use the Controller 
> Service, which causes an error as the CS is DISABLED.
> The Reporting Task should be a Referencing Component for any Reporting Task 
> Controller Service it uses.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to