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"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to