Andrey Zolotov created GEODE-5469:
-------------------------------------

             Summary: Pulse per-member region stats do not work for member 
names with hyphen(s)
                 Key: GEODE-5469
                 URL: https://issues.apache.org/jira/browse/GEODE-5469
             Project: Geode
          Issue Type: Bug
          Components: pulse
            Reporter: Andrey Zolotov


In Region View screen, when you hover over the members for the region on the 
left, the stats and charts do not have any data if the member name contains 
hyphens or other special cha.

The fix is to replace occurences of  *.' + memberName + '.* with *["' + 
memberName + '"].* in PulseCallbacks.js and RegionView.js, essentially forcing 
the name to be treated as single string.

example diff for one of the lines:
{code:java}
- key = 'memberOnRegionJson.' + memberName + '.entryCount';
+ key = 'memberOnRegionJson["' + memberName + '"].entryCount';{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to