JsfViewFactory.viewAlreadySet need to check for valid viewId before call equals [SWF-1501] #687
Labels
in: core
in: integration
status: waiting-for-feedback
We need additional information before we can continue
type: bug
Noel Hernandez opened SWF-1501 and commented
What steps will reproduce the problem?
in spring web flow source code 2.3.0
facesContext.getViewRoot().getViewId() is null because in the primefaces library in DynamicContentStreamer set the viewRoot to an UIViewRoot without ID on this line
facesContext.setViewRoot(new UIViewRoot());
What is the PrimeFaces version?
2.2.1
What is the expected output? What do you see instead?
null pointer exception
Which JSF implementation with version are you using?(Mojarra or MyFaces)
Mojarra
What is the version of your JSF implementation?
2.0.6
Which component libraries are you using in addition to PrimeFaces?
none
Which application server or servlet container are you using?
tomcat
To help PrimeFaces team when working on your issue, please paste a
reproducible test case below.
Example;
Page;
Bean
Affects: 2.3.0
The text was updated successfully, but these errors were encountered: