Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.12
-
None
-
None
Description
There is an small bug in the activation of the default view pool in ViewPoolFactory class.
When org.apache.myfaces.CACHE_EL_EXPRESSIONS is set to "alwaysRecompile". ViewPool feature is enabled, but the default view pool applies to all views that does not have any view pool mapping in faces-config.xml, but only when oamEnableViewPool is set.
What's happening right now is view pool is automatically enabled for all views by default, and this should be changed to the opposite.
The reason is "alwaysRecompile" is a EL caching feature by itself that does not require the view pool to work, but the view pool only works well when "alwaysRecompile" is set.
This part is quite confusing, but the fix needs to be done. It was discovered looking for a solution for MYFACES-4099