[ https://issues.apache.org/jira/browse/DISPATCH-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372669#comment-15372669 ]
Jiri Danek edited comment on DISPATCH-428 at 7/12/16 10:48 AM: --------------------------------------------------------------- I observed that this behaves differently in Firefox and in Chrome if I enter port: {{112657}}. In Firefox, I briefly get the page with rotating dots and then back the connect page with error message below the connection form. In Chrome, I get a page with rotating dots, toast with error, and it stays there I did purge the cache in both browsers. was (Author: jdanek): I observed that this behaves differently in Firefox and in Chrome if I enter port: {{112657}}. In Firefox, I get just error message below the connection form. In Chrome, I get a page with rotating dots, toast with error, and back the connection form. Which of the two is the intended behavior? I did purge the cache in both browsers. > 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 > Assignee: Ernest Allen > Fix For: 0.7.0 > > Attachments: 2-db8521-chrome-test_wrong_port__10.png, > 2-db8521-firefox-test_wrong_port__10.png, port-5.png > > > 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