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

Keith Wall updated QPID-6561:
-----------------------------
    Description: 
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

  

  was:
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.  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

  


> 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]

Reply via email to