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
Unknown Object (File)
Fri, Jan 17, 2:10 PM
Unknown Object (File)
Thu, Jan 16, 2:10 PM
Unknown Object (File)
Sat, Jan 11, 7:45 AM
Unknown Object (File)
Fri, Jan 10, 6:57 PM
Unknown Object (File)
Tue, Jan 7, 7:52 AM
Unknown Object (File)
Fri, Jan 3, 8:21 PM
Unknown Object (File)
Sun, Dec 22, 10:40 AM
Unknown Object (File)
Dec 12 2024, 4:11 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