Uploaded image for project: 'MyFaces CODI'
  1. MyFaces CODI
  2. EXTCDI-154

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.9.4
    • None
    • 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

      Attachments

        Issue Links

          Activity

            People

              gpetracek Gerhard Petracek
              gpetracek Gerhard Petracek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: