Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6561

Create VHN/VH dialogue cancel button causes Javascript error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.32
    • qpid-java-6.0
    • Broker-J
    • 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

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: