MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-218

defer final deletion of @ViewAccessScoped beans

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      I have a tricky problem in production with @ViewAccessScoped beans in conjunction with the lazy windowId dropping script
      http://wiki.apache.org/myfaces/Drafts/WindowId

      The problem arises if the user is on the browsers tabA (windowId=123) which has a @ViewAccessScoped bean and opens a link from this window in a new tabB.
      In this case a request with the old windowId=123 will be sent to the server and the response will be rendered to tabB. When the dropWindowId script detects that tabB is a fresh browser tab, it will issue a new request and drops the windowId to get a new one (windowId=124 now for tabB)

      The problem is that in step we get a request with the old windowId onto a new view, thus we drop the @ViewAccessScoped bean used in tabA.

        Activity

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Mark Struberg
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development