Page MenuHomePhabricator

Fix a fatal for 404s in Phriction
ClosedPublic

Authored by epriestley on Apr 13 2015, 9:37 PM.
Tags
None
Referenced Files
F15470711: D12401.diff
Sat, Apr 5, 12:36 AM
F15390308: D12401.id29791.diff
Sat, Mar 15, 6:07 AM
F15388459: D12401.id.diff
Sat, Mar 15, 3:51 AM
Unknown Object (File)
Feb 19 2025, 3:38 PM
Unknown Object (File)
Feb 14 2025, 2:02 PM
Unknown Object (File)
Feb 8 2025, 3:24 AM
Unknown Object (File)
Feb 3 2025, 3:36 AM
Unknown Object (File)
Feb 2 2025, 8:42 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.