Homec4science

When a paste's file is deleted, drop it from query results

Authored by epriestley <git@epriestley.com> on May 29 2013, 15:28.

Description

When a paste's file is deleted, drop it from query results

Summary:
We allow files to be deleted from the web UI, including paste files. When a paste's file is deleted, we currently continue to show it in the paste list and then 400 when it's clicked on.

Instead, remove it from the list. (Note that it may stick around if it's cached.)

Test Plan: Purged general cache, deleted a paste's file, viewed paste list, saw no pastes.

Reviewers: dctrwatson, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3265

Differential Revision: https://secure.phabricator.com/D6067

Details

Committed
epriestley <git@epriestley.com>May 29 2013, 15:28
Pushed
aubortJan 31 2017, 17:16
Parents
rPHaec0e2f8f98f: Highlight today on Calendar/Conpherence
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb91c86378007: When a paste's file is deleted, drop it from query results (authored by epriestley <git@epriestley.com>).May 29 2013, 15:28