Jiri Danek created DISPATCH-428: ----------------------------------- Summary: Connecting the dispatch-console to wrong port throws JS exception and freezes console Key: DISPATCH-428 URL: https://issues.apache.org/jira/browse/DISPATCH-428 Project: Qpid Dispatch Issue Type: Improvement Components: Console Affects Versions: 0.6.1 Reporter: Jiri Danek
Connect the console to Address: 127.0.0.1 Port: -5 After clicking the connect button, the rotating dots appear, a toast with JS exception appears and the console stays stuck on the rotating dots. {noformat} Error: Error: An invalid or illegal string was specified Stack trace: Error: An invalid or illegal string was specified require<[14]</</module.exports.connect/</</<.connect@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2 line 1 > eval:44:764 require<[1]</</Connection.prototype._connect@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2 line 1 > eval:3:4056 require<[1]</</Connection.prototype.connect@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2 line 1 > eval:3:3637 require<.rhea</</Container.prototype.connect@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2 line 1 > eval:87:767 self.connect@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2 line 1 > eval:785:30 $scope.connect@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2 line 1 > eval:118:9 G/<@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:14:22104 qd[b]</</</<@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:16:401 ib/this.$get</f.prototype.$eval@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:14:31528 ib/this.$get</f.prototype.$apply@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:14:31634 qd[b]</</<@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:16:381 $.event.dispatch@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:2:18633 $.event.add/h@http://127.0.0.1:8080/hawtio/app/app.js?8a388255a8a553f2:2:14597 {noformat} I would expect that some input validation is done as I type the values or possibly as I click the Connect button. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org