)]}'
{"horizon/static/framework/conf/resource-type-registry.service.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"995d47fac4c3c1340022fc3176eac8f2200fff19","unresolved":false,"context_lines":[{"line_number":266,"context_line":"      if (type) {"},{"line_number":267,"context_line":"        angular.forEach(type.itemActions, setActionScope);"},{"line_number":268,"context_line":"        angular.forEach(type.batchActions, setActionScope);"},{"line_number":269,"context_line":"      }"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"      function setActionScope(action) {"},{"line_number":272,"context_line":"        if (action.service.initScope) {"}],"source_content_type":"text/javascript","patch_set":1,"id":"bab6814e_ba59ca00","line":269,"updated":"2016-05-19 16:20:39.000000000","message":"should we log an error or warning if type is not found?","commit_id":"842169e32f12eb6bfaf59cdedc8a9c7a2b3dc858"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"ac7eb2c6bb5cc342b4e576a5dbdb7d253779ac05","unresolved":false,"context_lines":[{"line_number":266,"context_line":"      if (type) {"},{"line_number":267,"context_line":"        angular.forEach(type.itemActions, setActionScope);"},{"line_number":268,"context_line":"        angular.forEach(type.batchActions, setActionScope);"},{"line_number":269,"context_line":"      }"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"      function setActionScope(action) {"},{"line_number":272,"context_line":"        if (action.service.initScope) {"}],"source_content_type":"text/javascript","patch_set":1,"id":"bab6814e_6f0f1f37","line":269,"in_reply_to":"bab6814e_a9bf7ca8","updated":"2016-05-23 15:33:40.000000000","message":"To elaborate, something calling the function is saying \"Please initialize any actions for this type if you know of any.\"  The registry function here is just not operating when there are no matches, which I think is valid.","commit_id":"842169e32f12eb6bfaf59cdedc8a9c7a2b3dc858"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"91cd79b321b5c1b7227170aa4d2135a2bed8edf8","unresolved":false,"context_lines":[{"line_number":266,"context_line":"      if (type) {"},{"line_number":267,"context_line":"        angular.forEach(type.itemActions, setActionScope);"},{"line_number":268,"context_line":"        angular.forEach(type.batchActions, setActionScope);"},{"line_number":269,"context_line":"      }"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"      function setActionScope(action) {"},{"line_number":272,"context_line":"        if (action.service.initScope) {"}],"source_content_type":"text/javascript","patch_set":1,"id":"bab6814e_a9bf7ca8","line":269,"in_reply_to":"bab6814e_ba59ca00","updated":"2016-05-21 02:44:44.000000000","message":"No, it\u0027s not a problem.","commit_id":"842169e32f12eb6bfaf59cdedc8a9c7a2b3dc858"}],"horizon/static/framework/conf/resource-type-registry.service.spec.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"40050e4ab5c0b63b7ab05e3cb9f90b5140e7c7a7","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    });"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    it(\u0027init ignores initScope when not type is not present\u0027, function() {"},{"line_number":54,"context_line":"      var returned \u003d service.initActions(\u0027was-never-registered\u0027, {} );"},{"line_number":55,"context_line":"      // but we got here"},{"line_number":56,"context_line":"      expect(returned).toBeUndefined();"},{"line_number":57,"context_line":"    });"}],"source_content_type":"text/javascript","patch_set":1,"id":"bab6814e_bab54aef","line":54,"updated":"2016-05-19 16:22:44.000000000","message":"I dont see a return statement in initActions? not sure what this test is testing.","commit_id":"842169e32f12eb6bfaf59cdedc8a9c7a2b3dc858"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"8eb999a5a69dbbccd20983dfee99f27cb6af94fe","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    });"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    it(\u0027init ignores initScope when not type is not present\u0027, function() {"},{"line_number":54,"context_line":"      var returned \u003d service.initActions(\u0027was-never-registered\u0027, {} );"},{"line_number":55,"context_line":"      // but we got here"},{"line_number":56,"context_line":"      expect(returned).toBeUndefined();"},{"line_number":57,"context_line":"    });"}],"source_content_type":"text/javascript","patch_set":1,"id":"bab6814e_db959487","line":54,"in_reply_to":"bab6814e_bab54aef","updated":"2016-05-20 06:25:40.000000000","message":"yes, unnecessary test.","commit_id":"842169e32f12eb6bfaf59cdedc8a9c7a2b3dc858"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"91cd79b321b5c1b7227170aa4d2135a2bed8edf8","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    });"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    it(\u0027init ignores initScope when not type is not present\u0027, function() {"},{"line_number":54,"context_line":"      var returned \u003d service.initActions(\u0027was-never-registered\u0027, {} );"},{"line_number":55,"context_line":"      // but we got here"},{"line_number":56,"context_line":"      expect(returned).toBeUndefined();"},{"line_number":57,"context_line":"    });"}],"source_content_type":"text/javascript","patch_set":1,"id":"bab6814e_e9e344d7","line":54,"in_reply_to":"bab6814e_db959487","updated":"2016-05-21 02:44:44.000000000","message":"Not unnecessary!  Makes sure it doesn\u0027t throw an error.  If you ran this test before this change, you\u0027d get an error.  Thus, this is a valid test.","commit_id":"842169e32f12eb6bfaf59cdedc8a9c7a2b3dc858"}]}
