MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-154

it should be possible to inject view-access-scoped beans in an access-decision-voter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.4
    • Component/s: None
    • Labels:
      None

      Description

      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

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Gerhard Petracek
              Reporter:
              Gerhard Petracek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development