incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JSPWIKI-691) Navigation to ./admin/Admin.jsp with a non-authorized user redirects to a blank ./Message.jsp
Date Mon, 09 May 2011 19:37:03 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030869#comment-13030869
] 

Harry Metske commented on JSPWIKI-691:
--------------------------------------

This happens when you are logged in.
LoginActionBean gets control and sets a LocalizableError ("It seems you dont have access to
that. Sorry.") in the ValidationErrors and sets a RedirectResolution to the MessageActionBean.

The default handler there sets a TemplateResolution( "Message.jsp" ).
During that last phase the ValidationErrors get lost.

And, shouldn't the Message.jsp have a Stripes <s:errors/> tag ?

Running out of time now, anyone any ideas ?

> Navigation to ./admin/Admin.jsp with a non-authorized user redirects to a blank ./Message.jsp
> ---------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-691
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-691
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Juan Pablo Santos Rodríguez
>            Priority: Minor
>
> Navigation to ./admin/Admin.jsp with a non-authorized user redirects to a blank ./Message.jsp,
whereas in 2.8 you're redirected to error screen.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message