[seam-issues] [JBoss JIRA] (SEAMFACES-214) @ViewConfig after authorization redirect back to original page throws exception

Wulf Rowek (JIRA) jira-events at lists.jboss.org
Thu Oct 11 18:25:03 EDT 2012


    [ https://issues.jboss.org/browse/SEAMFACES-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725768#comment-12725768 ] 

Wulf Rowek commented on SEAMFACES-214:
--------------------------------------

Workaround and possible fix:

override the LoginListener by:

@Specializes
public class LoginListener extends org.jboss.seam.faces.security.LoginListener {

    @Override
    public void observePostLoginEvent(@Observes PostLoginEvent event) {
        if (!event.getFacesContext().getExternalContext().isResponseCommitted()) {
            super.observePostLoginEvent(event);
        }
    }

}
                
> @ViewConfig after authorization redirect back to original page throws exception
> -------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-214
>                 URL: https://issues.jboss.org/browse/SEAMFACES-214
>             Project: Seam Faces
>          Issue Type: Bug
>    Affects Versions: 3.1.0.Beta3
>         Environment: Jboss 7.0.2
>            Reporter: christoph langer
>
> See 
> http://seamframework.org/Community/ViewScopeRedirectAfterLoginErrorIllegalStateException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list