Page MenuHomePhabricator

Don't fatal when viewing tags pointing at commits we haven't imported/parsed yet
ClosedPublic

Authored by epriestley on Jul 28 2017, 5:41 PM.
Tags
None
Referenced Files
F19936584: D18290.diff
Sun, Apr 12, 3:18 PM
F19834617: D18290.id43983.diff
Mar 11 2026, 5:05 AM
F19779870: D18290.diff
Feb 23 2026, 5:48 PM
F19765282: D18290.diff
Feb 19 2026, 2:26 AM
F19637201: D18290.diff
Feb 5 2026, 1:52 PM
F19637199: D18290.diff
Feb 5 2026, 1:52 PM
F19615395: D18290.id.diff
Feb 4 2026, 12:04 AM
F19233550: D18290.id43983.diff
Dec 21 2025, 5:42 PM
Subscribers
None
Tokens
"Like" token, awarded by jlap.

Details

Summary

In Diffusion, the "Tags" view may read commits which haven't imported or parsed yet, and thus don't have loadable objects.

Most of this logic tests for if ($commit), but the author part did not. Instead, don't render author information if $commit is not present.

Test Plan
  • Loaded tags view with commits present.
  • Faked $commit = null;, loaded tag view, got this instead of a fatal:

Screen Shot 2017-07-28 at 10.39.21 AM.png (903×1 px, 113 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable