Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
-
Component/s: Documentation, Framework
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13177 - https://icesoft.my.salesforce.com/5007000000tj0xi
-
Workaround Exists:Yes
-
Workaround Description:
Description
As per the Wiki docs for lazyWindowScope (http://www.icesoft.org/wiki/display/ICE/lazyWindowScope):
"Please note that if the view scope map contains any view scoped beans, org.icefaces.lazyWindowScope is not enabled by default."
This indicates that if you have View scoped beans that org.icefaces.lazyWindowScope should be false by default. This is not the case as it is logged as the following:
org.icefaces.lazyWindowScope: true [default]
Also when using the @AllWindowsClosed annotation on a Session Scoped bean, this is not called as it needs Window scoped beans or lazyWindowScope=false.
"Please note that if the view scope map contains any view scoped beans, org.icefaces.lazyWindowScope is not enabled by default."
This indicates that if you have View scoped beans that org.icefaces.lazyWindowScope should be false by default. This is not the case as it is logged as the following:
org.icefaces.lazyWindowScope: true [default]
Also when using the @AllWindowsClosed annotation on a Session Scoped bean, this is not called as it needs Window scoped beans or lazyWindowScope=false.
Attached test case that shows the incorrect behavior.
To reproduce: