Volodymyr Siedlecki created MYFACES-4533:
--------------------------------------------
Summary: TCK: Spec 790: Viewstate input name 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
Attachments: 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:
<input type="hidden" *name="jakarta.faces.ViewState"
*id="j_id__v_0:jakarta.faces.ViewState:1"
value="NzVhMDlkOGYwNjY1ZWZkODAwMDAwMDAy" autocomplete="off">
The test expects it 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)