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

Joseph Witt commented on NIFI-530:
----------------------------------

mark: "credit" may be the wrong term here.  But it is important from an ability 
to see the community growing and that we're getting contributions from a 
variety of people.

So it's less about credit and more about community.

Thanks!

> 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.0.2
>            Reporter: Mark Latimer
>            Assignee: Matt Gilman
>            Priority: Trivial
>             Fix For: 0.1.0
>
>         Attachments: 
> 0143-Increase-inactive-rather-than-active-counter-where-p.patch, 530.diff
>
>
> 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)

Reply via email to