[
https://issues.apache.org/jira/browse/DISPATCH-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372804#comment-15372804
]
Ernest Allen commented on DISPATCH-428:
---------------------------------------
The Firefox behavior is correct. Right after submitting the form the rotation
dots should appear. If the connection fails, the connect page with error
message should appear.
I'll try again on Chrome and see what's up.
> 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: [email protected]
For additional commands, e-mail: [email protected]