Page MenuHomePhabricator

Filter pastes at the query level if we're unable to load their content
ClosedPublic

Authored by epriestley on May 18 2015, 7:50 PM.
Tags
None
Referenced Files
F13134923: D12909.diff
Thu, May 2, 5:56 AM
Unknown Object (File)
Sun, Apr 14, 3:26 AM
Unknown Object (File)
Sun, Apr 7, 4:52 PM
Unknown Object (File)
Apr 2 2024, 7:25 AM
Unknown Object (File)
Mar 31 2024, 10:47 PM
Unknown Object (File)
Mar 31 2024, 2:07 AM
Unknown Object (File)
Jan 27 2024, 4:12 PM
Unknown Object (File)
Jan 20 2024, 4:44 PM
Subscribers

Details

Summary

Fixes T8230. I think I broke this in D12354 since I missed the fact that this could filter results, because it's constructed in a sort of weird way. Try to make the logic a little more clear, while retaining the relevant properties:

  • Pastes with unloadable content should be discarded;
  • the input order should be retained in the result set.
Test Plan

Faked content misses and saw things work instead of fatal.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Filter pastes at the query level if we're unable to load their content.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 18 2015, 8:07 PM
This revision was automatically updated to reflect the committed changes.