Page MenuHomePhabricator

Fix a bad lookup in hovercards
ClosedPublic

Authored by epriestley on Jan 10 2016, 7:52 PM.
Tags
None
Referenced Files
F19542925: D14987.diff
Thu, Jan 22, 1:39 PM
F19529720: D14987.id36207.diff
Mon, Jan 19, 6:09 PM
F19523744: D14987.id36207.diff
Sat, Jan 17, 7:06 PM
F19454510: D14987.id.diff
Dec 31 2025, 12:20 AM
F19076215: D14987.id.diff
Dec 1 2025, 11:48 AM
F19068344: D14987.diff
Nov 30 2025, 11:52 AM
F18962487: D14987.id36207.diff
Nov 13 2025, 5:06 PM
F18824466: D14987.id36206.diff
Oct 23 2025, 3:51 PM
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.