Page MenuHomePhabricator

Fix an error when users receive notifications about objects they can no longer see
ClosedPublic

Authored by epriestley on Mar 11 2021, 6:34 PM.
Tags
None
Referenced Files
F19532350: D21603.id51429.diff
Tue, Jan 20, 10:31 AM
F19512036: D21603.id51429.diff
Mon, Jan 12, 11:18 AM
F19293742: D21603.diff
Dec 23 2025, 10:35 AM
F19227100: D21603.diff
Dec 19 2025, 1:23 AM
F19060010: D21603.diff
Nov 29 2025, 7:34 AM
F18887435: D21603.id51429.diff
Nov 7 2025, 6:00 AM
F18671092: D21603.id.diff
Sep 25 2025, 2:40 AM
F18639582: D21603.diff
Sep 17 2025, 2:34 PM
Subscribers
None

Details

Summary

Ref T13623. The change in D21577 could lead to a case where we try to access stories the user can't see.

Move the story-loading piece to "willFilterPage()" to make our way thorugh this.

Test Plan
  • Made FeedStory return nothing to simulate invisible notifications, loaded page.
    • Before: index access fatal.
    • After: clean "no notifications".
  • Loaded notifications normally, saw normal notifications.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable