You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2016/07/12 10:42:20 UTC

[jira] [Updated] (DISPATCH-428) Connecting the dispatch-console to wrong port throws JS exception and freezes console

     [ https://issues.apache.org/jira/browse/DISPATCH-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Danek updated DISPATCH-428:
--------------------------------
    Attachment: 2-db8521-chrome-test_wrong_port__10.png
                2-db8521-firefox-test_wrong_port__10.png

Attached screenshots taken at commit db8521.

> 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org