ICEfaces
  1. ICEfaces
  2. ICE-10729

PropertyNotFoundException when dispose-window request issued before redirect

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P03
    • Fix Version/s: 4.1, EE-3.3.0.GA_P04
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      jsf2.x ICEfaces3.3 ICEfaces4

      Description

      Customer has a regression (from P02 where this worked). The backing bean is ViewScoped and the @WindowsDisposed annotation is used. They have a NavigationHandler as well as a list of Messages in the view that is controlled by this backing bean. (bean is attached to the support case). Once the navigation is handled, the List of messages is no longer found (PropertyNotFoundException). Changing the backing bean to WindowsScoped works in this case. In P01 and P02 this worked with no changes to the backing bean and leaving it in @ViewScoped with the @WindowsDisposed annotation.

      000 3 00 0000 2015-06-11 11:32:40.529 (JSFExceptionHandler:78) Error code: e3406fd1; Exception: javax.el.PropertyNotFoundException: /xhtml/messageTable.xhtml @15,69 value="#{messageQueuesBean.messageList}": The class 'org.icefaces.impl.application.WindowScopeManager$NOOPBean' does not have the property 'messageList'.

      ....
      same application code was in the Fedex patch for P02, but just changing jars to P03 and this exception is thrown. It appears to only be a problem with ViewScoped beans using @WindowsDisposed. If the customer changes the bean to WindowScoped, then it works fine (survives the redirect).
       
      Please also see the forum reference as a user has the same issue.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45758 Wed Jul 15 12:20:30 MDT 2015 mircea.toma ICE-10729 Propagate view scoped beans through navigation to avoid having them re-instantiated during the next lifecycle and also have the defined bean methods available. The beans are eventually discarded together with the view root.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: