Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4499

TCK: Issue3020IT: testDelayNegative Fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3-next-M8, 4.0.0-RC3
    • None
    • None

    Description

      App Code: https://github.com/jakartaee/faces/blob/4.0.1/tck/faces22/ajax/src/main/webapp/issue3020Negative.xhtml#L35

      Unit Test:
      https://github.com/jakartaee/faces/blob/4.0.1/tck/faces22/ajax/src/test/java/ee/jakarta/tck/faces/test/servlet30/ajax/Issue3020IT.java#L49-L54

      The test verifies that a delay on the f:ajax is a valid input.  The test uses "NaN" and the implementation is expected to throw an exception to stop the request from occurring.

      Our RC2 code appears to be here: https://github.com/apache/myfaces/blob/89c747e85615e3f33265e664c8361789f38ea7db/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js#L311-L314

      I've attached the TCK application (with Mojarra) to this issue.

      Attachments

        1. test-faces22-ajax.war
          2.87 MB
          Volodymyr Siedlecki

        Activity

          People

            werpu Werner Punz
            volosied Volodymyr Siedlecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: