Page MenuHomePhabricator

Fix a bug where Phortune could fatal while building crumbs
ClosedPublic

Authored by epriestley on Apr 14 2017, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 28, 5:31 PM
Unknown Object (File)
Feb 27 2023, 1:56 PM
Unknown Object (File)
Feb 24 2023, 8:18 PM
Unknown Object (File)
Feb 13 2023, 2:50 PM
Unknown Object (File)
Jan 23 2023, 10:43 AM
Unknown Object (File)
Dec 25 2022, 9:30 AM
Unknown Object (File)
Nov 24 2022, 7:28 PM
Unknown Object (File)
Nov 24 2022, 7:28 PM
Subscribers
None

Details

Summary

Ref T12451. $this->getAccount() may not return an account.

Test Plan
  • Visit /phortune/X/, where X is the ID of an account you don't have permission to view.
  • Before patch: fatal.
  • After patch: normal policy exception page.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable