Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2269

System Overview: Graphs fail to load sometimes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-b1
    • Fix Version/s: 4.0.0-b4
    • Component/s: None
    • Labels:
      None

      Description

      Graphs fail to be displayed in the System Overview, System Status, and Billing Overview widgets at times.

      It appears there is a JavaScript error: "d3 is not defined" from "buildSystemOverviewGraphs:36" in the System Overview plugin. Others may have a similar issue.

      Also, "nv is not defined" from "buildSystemOverviewGraphs:38".

      See https://www.blesta.com/forums/index.php?/topic/7392-client-services-tab-graph-issue/

        Issue Links

          Activity

          Hide
          tyson Tyson Phillips (Inactive) added a comment - - edited

          Chrome gave me the following error:

          Uncaught ReferenceError: d3 is not defined(…)
          buildSystemOverviewGraphs @ VM368:36
          (anonymous function) @ VM368:28
          l @ jquery-1.8.3.min.js:2
          fireWith @ jquery-1.8.3.min.js:2
          T @ jquery-1.8.3.min.js:2
          r @ jquery-1.8.3.min.js:2

          ..which relates to

          var colors = d3.scale.category20c().range();
          

          in the buildSystemOverviewGraphs function of the SystemOverview plugin

          Show
          tyson Tyson Phillips (Inactive) added a comment - - edited Chrome gave me the following error: Uncaught ReferenceError: d3 is not defined(…) buildSystemOverviewGraphs @ VM368:36 (anonymous function) @ VM368:28 l @ jquery-1.8.3.min.js:2 fireWith @ jquery-1.8.3.min.js:2 T @ jquery-1.8.3.min.js:2 r @ jquery-1.8.3.min.js:2 ..which relates to var colors = d3.scale.category20c().range(); in the buildSystemOverviewGraphs function of the SystemOverview plugin
          Hide
          tyson Tyson Phillips (Inactive) added a comment -

          I notice this issue only in Google Chrome, and it appears to be due to the way the browser fetches information from the cache when $.ajax's 'ifModified' property is set to true, i.e., it does not fetch the resource requested. See http://stackoverflow.com/questions/16306825/jquery-ajax-ifmodified-not-honored-on-call-for-cached-response-when-should-be-30

          Show
          tyson Tyson Phillips (Inactive) added a comment - I notice this issue only in Google Chrome, and it appears to be due to the way the browser fetches information from the cache when $.ajax's 'ifModified' property is set to true, i.e., it does not fetch the resource requested. See http://stackoverflow.com/questions/16306825/jquery-ajax-ifmodified-not-honored-on-call-for-cached-response-when-should-be-30

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                7/Dec/16

                Agile