ICEfaces
  1. ICEfaces
  2. ICE-10257

@WindowDisposed - ViewScoped bean constructor called on redirect

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA, EE-3.3.0.GA_P02
    • Fix Version/s: 4.0, EE-3.3.0.GA_P03
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All

      Description

      When using the @WindowDisposed annotation for a ViewScoped bean, this beans constructor is called when doing a redirect to a new page.

      Scenario:
       - TestBean - ViewScoped bean
       - PageBean - ViewScoped Bean

      When the page that uses TestBean is loaded the constructor is called as expected. This page has a commandButton which will do a redirect to the page that uses PageBean. On click of this button the TestBean constructor is called as well as the PageBean constructor.

      Removing the @WindowDisposed annotation prevents this additional call to the constructor.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case13033Example2.war [ 17384 ]
        Attachment Case13033Example2.zip [ 17385 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Affects Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Assignee Priority P1 [ 10010 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Fix Version/s 4.0 [ 11382 ]
        Mircea Toma made changes -
        Affects Version/s 4.0.BETA [ 10770 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Arran Mccullough made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Arran Mccullough made changes -
        Attachment Case13033Example2.war [ 17384 ]
        Arran Mccullough made changes -
        Attachment Case13033Example2.zip [ 17385 ]
        Arran Mccullough made changes -
        Attachment Case13033Example2.war [ 18282 ]
        Attachment Case13033Example2.zip [ 18283 ]
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: