{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/c275cb02673d4615fb40e1acdc743baf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c275cb02673d4615fb40e1acdc743baf","url":"https://api.github.com/users/juricababic","login":"juricababic","id":900871},"milestone":{"state":"open","open_issues":33,"url":"https://api.github.com/repos/powertac/powertac-server/milestones/6","due_on":"2011-12-16T08:00:00Z","number":6,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/2850b7e3dada0859766a15e6b5448598?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2850b7e3dada0859766a15e6b5448598","url":"https://api.github.com/users/jecollins","login":"jecollins","id":274899},"title":"Power TAC 2012","description":"Target version for 2012 competition","closed_issues":40,"created_at":"2011-06-09T02:48:03Z"},"assignee":null,"updated_at":"2011-11-07T14:37:02Z","labels":[{"name":"Server environment","color":"aafabc","url":"https://api.github.com/repos/powertac/powertac-server/labels/Server+environment"},{"name":"Visualizer","color":"b6ffb2","url":"https://api.github.com/repos/powertac/powertac-server/labels/Visualizer"}],"comments":1,"closed_at":null,"url":"https://api.github.com/repos/powertac/powertac-server/issues/415","body":"It seems like there is a bug in BrokerProxyService (pt-server project).\r\nSpecifically, the following method:\r\n\r\npublic void sendMessage (Broker broker, Object messageObject);\r\n\r\nThis method sends a message for both broker and Visualizer, even though the purpose of this method is to send message to a specific broker. Consequently, the Visualizer will recieve the same message intended for brokers as much times as the number of registered brokers.\r\n\r\nPossible fix is to delete the following line in sendMessage method:  \"visualizerProxyService.forwardMessage(messageObject);\".","html_url":"https://github.com/powertac/powertac-server/issues/415","number":415,"title":"Visualizer receives redundant messages","id":2163067,"created_at":"2011-11-07T14:33:19Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/2850b7e3dada0859766a15e6b5448598?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2850b7e3dada0859766a15e6b5448598","url":"https://api.github.com/users/jecollins","login":"jecollins","id":274899},"updated_at":"2011-11-07T14:37:02Z","url":"https://api.github.com/repos/powertac/powertac-server/issues/comments/2654111","body":"If we delete that line, then the visualizer will get only the broadcast messages, and not the messages to individual brokers. Better to factor out the body of sendMessage and call it from both places.","id":2654111,"created_at":"2011-11-07T14:37:02Z"}}