Page MenuHomePhabricator

Fix a fatal for 404s in Phriction
ClosedPublic

Authored by epriestley on Apr 13 2015, 9:37 PM.
Tags
None
Referenced Files
F18850026: D12401.id29791.diff
Thu, Oct 30, 1:55 PM
F18842870: D12401.id.diff
Tue, Oct 28, 7:11 PM
F18836584: D12401.diff
Mon, Oct 27, 2:25 AM
F18831381: D12401.id.diff
Sat, Oct 25, 12:40 PM
F18808735: D12401.diff
Sun, Oct 19, 8:16 AM
F18738857: D12401.id29788.diff
Oct 1 2025, 5:53 PM
F18627344: D12401.id29788.diff
Sep 16 2025, 3:45 AM
F18616749: D12401.id.diff
Sep 14 2025, 6:52 PM
Subscribers

Details

Summary

Fixes T7817. Not all documents have $content, so don't try to set a timestamp if there's no content.

An example is /w/asdlkfnalskdnfaslk/, i.e. the 404 document.

Test Plan

Hit /w/junk/ and got a nice 404 instead of a fatal.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a fatal for 404s in Phriction.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, chad.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 13 2015, 9:40 PM
This revision was automatically updated to reflect the committed changes.