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

ASF GitHub Bot commented on NIFI-3133:
--------------------------------------

Github user JPercivall commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1297#discussion_r90965006
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/controller/ControllerFacade.java
 ---
    @@ -1432,13 +1452,20 @@ public int compare(AttributeDTO a1, AttributeDTO 
a2) {
         private void setComponentDetails(final ProvenanceEventDTO dto) {
             final ProcessGroup root = 
flowController.getGroup(flowController.getRootGroupId());
     
    -        final Connectable connectable = 
root.findConnectable(dto.getComponentId());
    +        final Connectable connectable = 
root.findLocalConnectable(dto.getComponentId());
             if (connectable != null) {
                 dto.setGroupId(connectable.getProcessGroup().getIdentifier());
                 dto.setComponentName(connectable.getName());
                 return;
             }
     
    +        final RemoteGroupPort remoteGroupPort = 
root.findRemoteGroupPort(dto.getComponentId());
    +        if (connectable != null) {
    --- End diff --
    
    Looks like a copy/paste error, this should check "remoteGroupPort"


> Unable to empty queue connected to a RPG
> ----------------------------------------
>
>                 Key: NIFI-3133
>                 URL: https://issues.apache.org/jira/browse/NIFI-3133
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> Unable to empty a queue in a connection where the source or destination is a 
> Remote Process Group. Appears to be using the policy of the port instead of 
> the RPG which is used for other configuration.



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

Reply via email to