Page MenuHomePhabricator

Fix a bad lookup in hovercards
ClosedPublic

Authored by epriestley on Jan 10 2016, 7:52 PM.
Tags
None
Referenced Files
F18820172: D14987.id.diff
Wed, Oct 22, 12:59 PM
F18817170: D14987.diff
Tue, Oct 21, 1:09 PM
F18816821: D14987.id36207.diff
Tue, Oct 21, 9:36 AM
F18812718: D14987.id.diff
Mon, Oct 20, 11:49 AM
F18739335: D14987.id.diff
Wed, Oct 1, 8:58 PM
F18630662: D14987.id36207.diff
Sep 16 2025, 12:22 PM
F18622452: D14987.id.diff
Sep 15 2025, 11:54 AM
F18613899: D14987.diff
Sep 14 2025, 11:35 AM
Subscribers
None

Details

Reviewers
chad
Commits
Restricted Diffusion Commit
rPe84693f589d3: Fix a bad lookup in hovercards
Summary

If you try to pull the hovercard of something you can no longer see (maybe you loaded the page, then the policy changed) there won't be a value in the array here.

(The rest of the code anticipates this possibility.)

Test Plan

Hovered some stuff.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a bad lookup in hovercards.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jan 10 2016, 7:59 PM
This revision was automatically updated to reflect the committed changes.