tpalfy commented on code in PR #7191:
URL: https://github.com/apache/nifi/pull/7191#discussion_r1301889961


##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js:
##########
@@ -865,7 +904,7 @@
                     
referencingComponentRevisions[referencingComponentEntity.id] = 
nfClient.getRevision(referencingComponentEntity);
                 }
             } else {
-                if (referencingComponent.referenceType === 'Processor' || 
referencingComponent.referenceType === 'ReportingTask') {
+                if (referencingComponent.referenceType === 'Processor' || 
referencingComponent.referenceType === 'ReportingTask' || 
referencingComponent.referenceType === 'FlowAnalysisRule') {

Review Comment:
   Flow Analysis Rules are supposed to work similar to other Controller Service 
referencing components. If the Controller Service is disabled the Rule should 
be disabled as well.
   
   Both frontend and backend can handle this with the current implementation.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to