We should return a 404 for resource not found; instead, we return 500 Internal Server Error

VERIFIED FIXED

Status

Websites Graveyard
mozillaservice.org
--
major
VERIFIED FIXED
9 years ago
7 years ago

People

(Reporter: stephend, Assigned: ozten)

Tracking

Details

(URL)

(Reporter)

Description

9 years ago
We currently return a 500 Internal Server Error if you hit a 404.

To reproduce, just take a valid URL and change a portion, such as a story ID that doesn't exist (found this by visiting the URL of a story I just deleted):

http://serviceweek.mozilla.org/activity/story/10/en_US
(Assignee)

Comment 1

9 years ago
r48979 - Displaying the generic 404 error when an invalid story is displayed.

Ideally we could develop a custom 404 page, but fixing the error code form 500 to 404 was a quick fix.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

9 years ago
(In reply to comment #1)
> r48979 - Displaying the generic 404 error when an invalid story is displayed.
> 
> Ideally we could develop a custom 404 page, but fixing the error code form 500
> to 404 was a quick fix.

Yes, that's already filed as bug 497992 (really like to see that fixed soon if possible; the Kohana error pages are really jarring to end-users).

Verified FIXED; http://mozillaservice.stage.mozilla.com/activity/story/98543/en_US returns a 404.  Thanks!
Status: RESOLVED → VERIFIED

Updated

7 years ago
Component: mozillaservice.org → mozillaservice.org
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.