[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1988) AuthorizationException not redirected properly

Samuel Mendenhall (JIRA) jira-events at lists.jboss.org
Fri Sep 28 13:31:42 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1988?page=comments#action_12379367 ] 
            
Samuel Mendenhall commented on JBSEAM-1988:
-------------------------------------------

The examples appear to be fine, they redirect to /home.xhtml however, seam-gen generates the wrong redirect, it generates <redirect> without the view-id.

> AuthorizationException not redirected properly
> ----------------------------------------------
>
>                 Key: JBSEAM-1988
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1988
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Security
>            Reporter: Samuel Mendenhall
>         Assigned To: Shane Bryzak
>
> pages.xml:
> <exception class="org.jboss.seam.security.AuthorizationException">
>        <redirect>
>             <message>You don't have permission to do this</message>
>         </redirect>
>     </exception>
>     
>     
> Should have: <redirect view-id="/error.xhtml">
> Causes a redirect error in the browser otherwise.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list