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

          tyson Tyson Phillips (Inactive) created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          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.

          See https://www.blesta.com/forums/index.php?/topic/7392-client-services-tab-graph-issue/
          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/
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-2267 [ CORE-2267 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.0.0 Sprint 9 [ 27 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.0.0 Sprint 9 [ 27 ] 4.0.0 Sprint 9, 4.0.0 Sprint 10 [ 27, 28 ]
          admin Paul Phillips made changes -
          Fix Version/s 4.0.0-b3 [ 11002 ]
          Fix Version/s 4.0.0-b2 [ 11001 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.0.0 Sprint 9, 4.0.0 Sprint 10 [ 27, 28 ] 4.0.0 Sprint 9, 4.0.0 Sprint 10, 4.0.0 Sprint 11 [ 27, 28, 29 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          admin Paul Phillips made changes -
          Fix Version/s 4.0.0-b4 [ 11003 ]
          Fix Version/s 4.0.0-b3 [ 11002 ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #9 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.0.0 Sprint 9, 4.0.0 Sprint 10, 4.0.0 Sprint 11 [ 27, 28, 29 ] 4.0.0 Sprint 9, 4.0.0 Sprint 10, 4.0.0 Sprint 11, 4.0.0 Sprint 12 [ 27, 28, 29, 30 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          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
          tyson Tyson Phillips (Inactive) made changes -
          Summary Graphs fail to load sometimes System Overview: Graphs fail to load sometimes
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-2296 [ CORE-2296 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #9 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]

            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