Page MenuHomePhabricator

Fix an error in Diffusion when the Owners application is uninstalled
ClosedPublic

Authored by epriestley on Sep 19 2017, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 10:42 AM
Unknown Object (File)
Thu, Jan 16, 9:04 AM
Unknown Object (File)
Fri, Jan 10, 11:18 PM
Unknown Object (File)
Sun, Jan 5, 2:05 PM
Unknown Object (File)
Dec 24 2024, 1:56 PM
Unknown Object (File)
Dec 24 2024, 2:45 AM
Unknown Object (File)
Dec 18 2024, 5:16 PM
Unknown Object (File)
Dec 13 2024, 2:15 PM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/undefined-view-when-owners-is-uninstalled/451.

When Owners is not installed, Diffusion can fatal with a bad $view.

Test Plan
  • Uninstall Owners.
  • View the content of any file in Diffusion.
  • Before: fatal on $view undefined.
  • After: Valid page with no owners information.

Diff Detail

Repository
rP Phabricator
Branch
owners1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18500
Build 24915: Run Core Tests
Build 24914: arc lint + arc unit