Page MenuHomePhabricator

Fix a fatal when navigating to a Workboard after removing the Workboard menu item
ClosedPublic

Authored by epriestley on May 13 2019, 2:18 PM.
Tags
None
Referenced Files
F13060783: D20516.diff
Fri, Apr 19, 6:23 PM
Unknown Object (File)
Sat, Apr 6, 5:54 PM
Unknown Object (File)
Tue, Apr 2, 12:44 PM
Unknown Object (File)
Sat, Mar 23, 12:47 AM
Unknown Object (File)
Sat, Mar 23, 12:47 AM
Unknown Object (File)
Sat, Mar 23, 12:47 AM
Unknown Object (File)
Sat, Mar 23, 12:47 AM
Unknown Object (File)
Feb 13 2024, 9:26 AM
Subscribers
None

Details

Reviewers
amckinley
Summary

See PHI1247. If you remove the Workboard from a project profile menu, then navigate to the URI, we currently fatal when trying to select the "Workboard" item.

Instead, only try to select the item if some matching item is present.

Test Plan
  • Disabled the workboard on a project, navigated to /board/, got a sensible page with no navigation item selected instead of a fatal.
  • Viewed a normal workboard, saw the correct selection.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable