-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ViewScoped @PreDestroy not called on session expiry #1843
Comments
@javaserverfaces Commented |
@javaserverfaces Commented In the case of a managed bean placed in view scope, methods annotated with The javadoc for setViewRoot() states: f the current UIViewRoot is non-null, and calling equals() on the argument root, passing the current Therefore, there is no requirement to call @PreDestroy in this case. I'm closing this as WONTFIX. |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
|
Using a simple test application with a ViewScoped ManagedBean and a
SessionScoped ManagedBean, upon session expiry the SessionScoped @PreDestroy is
called, but the ViewScoped @PreDestroy is not.
Environment
Operating System: All
Platform: All
Affected Versions
[2.1.0]
The text was updated successfully, but these errors were encountered: