Page MenuHomePhabricator

Fix two issues where StandardPageView assumes it will always have access to a user
ClosedPublic

Authored by epriestley on Oct 11 2013, 2:40 AM.
Tags
None
Referenced Files
F14034359: D7286.diff
Sat, Nov 9, 11:48 PM
F13999970: D7286.diff
Thu, Oct 24, 6:22 PM
Unknown Object (File)
Oct 3 2024, 8:39 AM
Unknown Object (File)
Oct 3 2024, 8:36 AM
Unknown Object (File)
Oct 3 2024, 8:35 AM
Unknown Object (File)
Oct 3 2024, 8:34 AM
Unknown Object (File)
Sep 24 2024, 11:18 PM
Unknown Object (File)
Sep 20 2024, 8:37 PM
Subscribers

Details

Summary

If we hit an exception very early, the request may not have a user yet. Don't assume it will.

Test Plan

Broke MySQL config on purpose to test some stuff, loaded Phabricator, got a nice error page instead of a super-fatal one.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped