You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volodymyr Siedlecki (Jira)" <de...@myfaces.apache.org> on 2022/11/17 01:57:00 UTC

[jira] [Commented] (MYFACES-4499) TCK: Issue3020IT: testDelayNegative Fails

    [ https://issues.apache.org/jira/browse/MYFACES-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635072#comment-17635072 ] 

Volodymyr Siedlecki commented on MYFACES-4499:
----------------------------------------------

[~werpu] is Can I assign this to you?  This one seems pretty simple (throw exception if NaN)

> TCK: Issue3020IT: testDelayNegative Fails
> -----------------------------------------
>
>                 Key: MYFACES-4499
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4499
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Volodymyr Siedlecki
>            Priority: Major
>         Attachments: test-faces22-ajax.war
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)