onData gets called with wrong data

Issue #148 resolved
Mads K created an issue

Just tried out atlasboard, and it seems that onData gets called with the wrong data resulting in the widgets not getting their required data. It seems like the two widgets i currently have gets data from eachother.

Currently my configuration looks like the following

{

  "title": "DASH DAILY",
  "titleVisible": false,
  "description": "Wallboard for daily development",

  "layout": {
      "gridSize" : { "columns" : 20, "rows" : 12 },
      "customJS" : [],
      "widgets" : [
        {
          "row" : 1,
          "col" : 1,
          "width" : 6,
          "height" : 8,
          "widget" : "sprinthealth",
          "job" : "sprinthealth",
          "config": "sprinthealth"
        },
        {
          "row" : 7,
          "col" : 1,
          "width" : 6,
          "height" : 8,
          "widget" : "sonar",
          "job" : "sonarjob",
          "config": "sonar"
        }
      ]
  },

  "config": {
      "sprinthealth": {
          "credentials": "jira",
          "jiraServer": "https://myserver.jira.com",
          "rapidViewId": 63, 
          "widgetTitle": "Sprint Health",
          "includeSprintPattern": "BlueTeam",
          "interval": 300000
      },
      "sonar": {
        "sonarUrl": "http://sonarqube.com",
        "projectKey": "yui",
        "comparisonInterval": 20,
        "complianceWarningThreshold": 15,
        "complianceCriticalThreshold": 12,
        "credentials": "sonar"
      }
  }
}

Comments (1)

  1. Mads K reporter

    Issue arises when adding stuff to the configuration, reloading the browser and not restarting atlasboard

  2. Log in to comment