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
F18766317: D20516.id48909.diff
Tue, Oct 7, 4:04 PM
F18700112: D20516.diff
Sep 27 2025, 2:38 PM
F18619587: D20516.id48919.diff
Sep 15 2025, 2:50 AM
F18570158: D20516.id48919.diff
Sep 10 2025, 3:12 AM
F18570157: D20516.id48909.diff
Sep 10 2025, 3:12 AM
F17915094: D20516.id48919.diff
Jul 29 2025, 8:09 PM
Unknown Object (File)
Jun 30 2025, 10:33 PM
Unknown Object (File)
Jun 28 2025, 11:56 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