ICEfaces
  1. ICEfaces
  2. ICE-11288

Unnecessary beans created when using @WindowDisposed with @ViewScoped Beans

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      jsf 2 icefaces-ee-3.3.0.GA_P02-hsdg-12

      Description

      Customer is using patched version of P02.
      The attached beans and xhtml page need to be added to @WIndowDisposed test to be used with profiler to show additional instances of @ViewScoped Beans that are being created when used in this manner.

      See attached PDF that explains the problem and how to reproduce with these beans and xhtml page.
      1. JSF_ViewBeansMap_issue_when_WindowDisposed_used.pdf
        1.09 MB
        Judy Guglielmin
      2. SetActiveViewMapsSizeSessionListener.java
        2 kB
        Judy Guglielmin
      3. ViewBean.java
        2 kB
        Judy Guglielmin
      4. viewScopeWindowTest.xhtml
        0.4 kB
        Judy Guglielmin
      5. WindowsGlobalCounter.java
        0.4 kB
        Judy Guglielmin

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Attachment SetActiveViewMapsSizeSessionListener.java [ 22498 ]
        Attachment ViewBean.java [ 22499 ]
        Attachment viewScopeWindowTest.xhtml [ 22500 ]
        Attachment WindowsGlobalCounter.java [ 22501 ]
        Attachment JSF_ViewBeansMap_issue_when_WindowDisposed_used.pdf [ 22502 ]
        Judy Guglielmin made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Assignee Priority P1 [ 10010 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.2.0.GA [ 13071 ]
        Fix Version/s EE-3.3.0.GA_P05 [ 13082 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: