Page MenuHomePhabricator

Fix a fatal for 404s in Phriction
ClosedPublic

Authored by epriestley on Apr 13 2015, 9:37 PM.
Tags
None
Referenced Files
F18204096: D12401.id29791.diff
Mon, Aug 18, 1:18 PM
F18093534: D12401.id.diff
Thu, Aug 7, 7:10 PM
F18087414: D12401.diff
Wed, Aug 6, 3:49 AM
Unknown Object (File)
Jun 27 2025, 3:21 AM
Unknown Object (File)
Jun 20 2025, 4:30 PM
Unknown Object (File)
Jun 19 2025, 4:28 PM
Unknown Object (File)
Jun 3 2025, 8:30 AM
Unknown Object (File)
Jun 1 2025, 7:56 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.