[
https://issues.apache.org/jira/browse/EXTCDI-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved EXTCDI-154.
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.9.4
> it should be possible to inject view-access-scoped beans in an
> access-decision-voter
> ------------------------------------------------------------------------------------
>
> Key: EXTCDI-154
> URL: https://issues.apache.org/jira/browse/EXTCDI-154
> Project: MyFaces CODI
> Issue Type: Bug
> Reporter: Gerhard Petracek
> Assignee: Gerhard Petracek
> Priority: Trivial
> Fix For: 0.9.4
>
>
> an AccessDecisionVoter also gets invoked during the navigation process.
> during the navigation process existing view-access-scoped beans are valid in
> any case.
> however, the navigation process has to be completed before all information
> for the view-access scope is valid again. so it isn't not possible to use
> view-accessed scoped beans in an AccessDecisionVoter.
> workaround:
> set the new view-id manually before accessing view-access scoped beans
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira