[
https://issues.apache.org/jira/browse/QPID-6561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566758#comment-14566758
]
ASF subversion and git services commented on QPID-6561:
-------------------------------------------------------
Commit 1682801 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1682801 ]
QPID-6561: [Java Broker] Handle exception from HTML5 FileReader#abort()
Also ensure that KeyStore/TrustStore/AccessControl dialogues abort any in
progress file reading operation
if dialogue is cancelled.
> Create VHN/VH dialogue cancel button causes Javascript error
> ------------------------------------------------------------
>
> Key: QPID-6561
> URL: https://issues.apache.org/jira/browse/QPID-6561
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.32
> Reporter: Keith Wall
> Priority: Minor
> Fix For: 6.0 [Java]
>
>
> Clicking the Cancel button on the Create VHN/VH dialogue in the Web
> Management Console of the Java Broker causes an error to be logged to the
> Firefox Console.
> Problem is with the HTML5 FileReader used upload the Virtualhost
> configuration JSON (QPID-6276). The Cancel button is wired to the abort()
> method of the FileReader in order to abort an in-progress file upload,
> however, the abort() method is documented [1] to cause an exception if an
> upload is not in-progress.
> [1] https://developer.mozilla.org/en-US/docs/Web/API/FileReader/abort
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]