Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6846233

wrong exception code when deleting a media which doesn't exist in the media list

XMLWordPrintable

    • x86
    • windows, windows_xp

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. open the following url with java console open:
      http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/InvalidMediaDeleteTest.html

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The DOMException code is equal to DOMException.NOT_FOUND_ERR
      ACTUAL -
      The following strings are printed in the console:
      #### exception code not correct, expected DOMException.NOT_FOUND_ERR. actual: 9
      #### InvalidMediaDeleteTestmoidfy test failed

      REPRODUCIBILITY :
      This bug can be reproduced always.

      The applet source code is:
      http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/InvalidMediaDeleteTest.java

            almatvee Alexander Matveev
            qgong Fred Gong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: