Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
Initial setup:
Two ViewAccessScoped beans, two pages and both beans are accessed on both pages.
Expected behavior:
When navigating between the two pages both ViewAccessScope should stay alive regardless of f:viewActions.
Actual behavior:
The f:viewAction seems to count as an additional request for DeltaSpike and thus destroys all ViewAccessScoped beans that are not touched by it. Accessing one of the ViewAccessScoped beans in a f:viewAction destroys the bean that is not accessed. Accessing none of the ViewAccessScoped beans will destroy all ViewAccessScoped beans.