[
https://issues.apache.org/jira/browse/DISPATCH-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366182#comment-15366182
]
ASF subversion and git services commented on DISPATCH-428:
----------------------------------------------------------
Commit 5c9e8d7e739eef11525e44d52197c087a522b6aa in qpid-dispatch's branch
refs/heads/master from [~eallen]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=5c9e8d7 ]
DISPATCH-428 Add form error checking on port
> 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
> Attachments: 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]