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

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

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

Werner Punz edited comment on MYFACES-4499 at 11/17/22 6:00 AM:
----------------------------------------------------------------

Yes this is a simple one, thanks for reporting, one of those corner cases I have missed in both implementations, will get a fix today together with the script tag removal issue. Expect a fix later today with a new RC of my reimplementation.


was (Author: werpu):
Yes this is a simple one, thanks for reporting, one of those corner cases I have missing in my reimplementation, will get a fix today together with the script tag removal issue. Expect a fix later today with a new RC of my reimplementation.

> 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
>            Assignee: Werner Punz
>            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)