1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00
phorge-phorge/src
epriestley 0815891e42 Fix an error when users receive notifications about objects they can no longer see
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.

Maniphest Tasks: T13623

Differential Revision: https://secure.phabricator.com/D21603
2021-03-11 10:44:42 -08:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Restructure Hovercards to support more context information 2021-02-13 13:37:36 -08:00
applications Fix an error when users receive notifications about objects they can no longer see 2021-03-11 10:44:42 -08:00
docs Update install and upgrade documentation for libphutil 2021-02-08 10:20:00 -08:00
extensions
infrastructure Never return external connections to the GlobalLock connection pool 2021-03-02 13:44:17 -08:00
view When a reviewer can't see a revision, show it clearly in the reviewer list 2021-02-13 13:37:37 -08:00
__phutil_library_init__.php
__phutil_library_map__.php Modernize and clean up "PhabricatorAuditStatusConstants" 2021-03-10 09:21:55 -08:00