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

Werner Punz commented on MYFACES-4533:
--------------------------------------

Test Results with my patches in:

Faces22 / ajax

!image-2023-01-31-13-48-30-884.png|width=341,height=128!

This is a known issue and reported!

Faces23 Ajax:

!image-2023-01-31-13-54-59-301.png|width=374,height=89!

Namespaces (this is the test failing before):

!image-2023-01-31-13-52-23-736.png|width=386,height=92!

And 4.0 Ajax

!image-2023-01-31-13-53-24-862.png|width=382,height=91!

 

I will provide the fixes in my special 790 branch for review... Once everyone 
is ok with it, I will start to merge and backport down into the other branches!

 

> TCK: Spec 790:  Viewstate input element's name attribute should be prefixed 
> with naming container id 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4533
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4533
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 4.0.0-RC2
>            Reporter: Volodymyr Siedlecki
>            Assignee: Werner Punz
>            Priority: Major
>         Attachments: image-2023-01-19-08-44-48-874.png, 
> image-2023-01-19-08-48-12-961.png, image-2023-01-31-10-55-59-105.png, 
> image-2023-01-31-13-48-30-884.png, image-2023-01-31-13-49-04-491.png, 
> image-2023-01-31-13-52-23-736.png, image-2023-01-31-13-53-24-862.png, 
> image-2023-01-31-13-54-59-301.png, namespacedView.war
>
>
> Failing Line: 
> https://github.com/jakartaee/faces/blob/master/tck/faces23/namespacedView/src/test/java/ee/jakarta/tck/faces/test/javaee8/namespacedView/Spec790WithNamespacedViewIT.java#L15
>  5
> Generated Viewstate: 
> {code:java}
> <input type="hidden" name="jakarta.faces.ViewState" 
> id="j_id__v_0:jakarta.faces.ViewState:1" 
> value="NzVhMDlkOGYwNjY1ZWZkODAwMDAwMDAy" autocomplete="off">
> {code}
> The test expects the name attribute to be prefixed with `j_id__v_0`.  My 
> understanding is this should only apply when the view root is an instance of 
> a NamingContainer.   
> The test app's faces-config has the following configuration: 
> https://github.com/jakartaee/faces/blob/master/tck/faces23/namespacedView/src/main/webapp/WEB-INF/faces-config.xml#L25-L28



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

Reply via email to