Project

General

Profile

Actions

Defect #4182

closed

Links on locked users lead to 404 page

Added by Jean-Baptiste Barth over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
Start date:
2009-11-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When you lock a user account (for instance because person has left the team), there are still many links in every issues, wiki pages, comments left by this person. When you click on them, you are redirected to a 404 page, which is not very easy to understand for users imho.

I think this is because in UsersController#show, user is searched with the "active" scope, and there's a rescue ActiveRecord::RecordNotFound; render_404 at the end of the action. Maybe you could forget the "active" scope, and change the display after that with a specific error page ?

Any opinion on this ?

Actions

Also available in: Atom PDF