You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2013/01/07 04:24:13 UTC
[jira] [Closed] (ROL-1159) Link to login ends up with http 404
[ https://issues.apache.org/jira/browse/ROL-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Mazza closed ROL-1159.
---------------------------
Resolution: Unresolved
Bug against Roller 2.3; please try with the latest 5.0.1 version.
> Link to login ends up with http 404
> -----------------------------------
>
> Key: ROL-1159
> URL: https://issues.apache.org/jira/browse/ROL-1159
> Project: Roller
> Issue Type: Bug
> Components: Authentication, Roles and Access Controls
> Affects Versions: 2.3
> Environment: Tomcat 5.5.16 and .17, windows xp
> Reporter: Martin Giljohann
> Assignee: Roller Unassigned
>
> This only happens if I am testing with a single blog on roller.
> If you click the Login-Link on roller's front page, a http 404 error is thrown. The reason is that /roller/login-redirect.jsp is called and on that page the if part of this clause is executed:
> [...]
> if (websites.size() == 1) {
> WebsiteData website = (WebsiteData)websites.get(0);
> website.hasUserPermissions(user, PermissionsData.LIMITED);
> response.sendRedirect(
> "editor/weblog.do?method=create&rmk=tabbedmenu.weblog&rmik=tabbedmenu.weblog.newEntry&weblog="+website.getHandle());
> } else {
> [...]
> The redirect does not seem to work, but maybe the easiest fix would be to link from the "Login"-link to /roller/login.jsp (instead of login-redirect.jsp).
> However everything work just fine for me, if I am doing tests with more than one blog.
--
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