[
https://issues.apache.org/jira/browse/NIFI-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436728#comment-15436728
]
ASF GitHub Bot commented on NIFI-2659:
--------------------------------------
Github user mcgilman commented on the issue:
https://github.com/apache/nifi/pull/939
Reviewing...
> 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, screenshot-2-fixed.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)