Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5469

Pulse per-member region stats do not work for member names with hyphen(s)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • pulse

    Description

      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, forcing the name to be treated as single string.

      example diff for one of the lines:

      - key = 'memberOnRegionJson.' + memberName + '.entryCount';
      + key = 'memberOnRegionJson["' + memberName + '"].entryCount';

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              azolotov Andrey Zolotov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m