nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Latimer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NIFI-530) createRemoteProcessGroupDto in DtoFactory.java does not count inactive remote ports correctly
Date Tue, 21 Apr 2015 15:19:59 GMT
Mark Latimer created NIFI-530:
---------------------------------

             Summary: createRemoteProcessGroupDto in DtoFactory.java does not count inactive
remote ports correctly
                 Key: NIFI-530
                 URL: https://issues.apache.org/jira/browse/NIFI-530
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core UI
    Affects Versions: 0.1.0
            Reporter: Mark Latimer
            Priority: Trivial


createRemoteProcessGroupDto in Dtofactory.java does not increase the inactiveRemoteOutputPortCount


{code:title=Dtofactory.java }
        int activeRemoteOutputPortCount = 0;
        int inactiveRemoteOutputPortCount = 0; //not updated
        for (final Port port : group.getOutputPorts()) {
            outputPorts.add(createRemoteProcessGroupPortDto((RemoteGroupPort) port));

            if (!port.getConnections().isEmpty()) {
                if (port.isRunning()) {
                    activeRemoteOutputPortCount++;
                } else {
                    //should be inactive like the code for incoming connections.
                    activeRemoteOutputPortCount++;
                }
            }
        }
{code}



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

Mime
View raw message