Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.32
-
None
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