[ 
https://issues.apache.org/jira/browse/NIFI-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koji Kawamura updated NIFI-2659:
--------------------------------
    Attachment: screenshot-1.png

> Remote Process Group UI component shows Sent stats as Received stats
> --------------------------------------------------------------------
>
>                 Key: NIFI-2659
>                 URL: https://issues.apache.org/jira/browse/NIFI-2659
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.0.0
>            Reporter: Koji Kawamura
>            Assignee: Koji Kawamura
>             Fix For: 1.0.0
>
>         Attachments: screenshot-1.png
>
>
> RPG component shows Sent and Received statistics. Sent stats is shown 
> correctly, but Received stats also uses the Sent stats. Because of that, the 
> correct Received stats is not shown.
> Corresponding JS code uses 'sent' stats for 'received' wrongly:
> {code:title=nf-remote-process-group.js}
>         // received count value
>         updated.select('text.remote-process-group-received tspan.count')
>             .text(function (d) {
>                 return 
> nf.Common.substringBeforeFirst(d.status.aggregateSnapshot.sent, ' ');
>             });
>         // received size value
>         updated.select('text.remote-process-group-received tspan.size')
>             .text(function (d) {
>                 return ' ' + 
> nf.Common.substringAfterFirst(d.status.aggregateSnapshot.sent, ' ');
>             });
> {code}



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

Reply via email to