Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-869

Statistics in Developer portal are not displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2 CR2
    • 2.2 CR1
    • System
    • None

      Statistics inside Developer portal has issue with showing graphs and analytics from application.
      The error I am getting from Google Chrome DevTools is:

      Uncaught SyntaxError: Unexpected token % in JSON at position 1
          at JSON.parse (<anonymous>)
          at StatsStore.value (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at StatsStore.value (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at StatsState.value (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at StatsState.value (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at new StatsState (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at Object.build (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at Object.statsApplication (stats-2e13d2512579d08b7cbc6d56c59498c3.js:1)
          at VM1296 about:srcdoc:150
          at VM1296 about:srcdoc:164

      This occurs when site is refreshed. But when I delete

      #{"dateRange":{"period":{"number":24,"unit":"hour"},"granularity":"hour"},"selectedMetricName":"hits","timezone":"Etc/UTC"}

      from URL and access site again, graphs are shown correctly.

              Unassigned Unassigned
              jsmolar Jakub Smolár
              Jakub Smolár Jakub Smolár
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: