[
https://issues.apache.org/jira/browse/DELTASPIKE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek updated DELTASPIKE-795:
----------------------------------------
Assignee: Thomas Andraschko
> ViewAccessScope gets destroyed in combination with f:viewAction
> ---------------------------------------------------------------
>
> Key: DELTASPIKE-795
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-795
> Project: DeltaSpike
> Issue Type: Bug
> Components: JSF-Module
> Affects Versions: 1.2.0
> Reporter: Ortwin Escher
> Assignee: Thomas Andraschko
> Fix For: 1.2.1
>
> Attachments: DemoDeltaspikeScope.zip
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)