You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/05/31 23:37:17 UTC

[jira] [Updated] (QPID-6561) Create VHN/VH dialogue cancel button causes Javascript error

     [ 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.  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 to cause an exception if an upload is not in-progress.

  


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