Page MenuHomePhabricator

Fix some error log issues with uninitialized commit/revision lists
ClosedPublic

Authored by epriestley on May 12 2017, 6:07 PM.
Tags
None
Referenced Files
F19510133: D17872.diff
Sun, Jan 11, 5:06 AM
F18825562: D17872.diff
Oct 23 2025, 10:49 PM
F18810215: D17872.id.diff
Oct 19 2025, 8:12 PM
F18804659: D17872.diff
Oct 18 2025, 10:26 AM
F18796884: D17872.id42993.diff
Oct 17 2025, 4:21 AM
F18771867: D17872.diff
Oct 8 2025, 10:26 PM
F18764115: D17872.diff
Oct 7 2025, 4:22 AM
F18761396: D17872.id42985.diff
Oct 6 2025, 2:03 PM
Subscribers
None

Details

Summary

Fixes T12679. Reproduction steps appear to be:

  • As a logged-out user, view revision list or commit list.
  • Enable bucketing by action required.
  • Before patch: foreach (null as ...) causes error spew.
  • After patch: foreach (array() as ...) works great.
Test Plan
  • Reproduced issue by following steps above in Differential (revisions) and Diffusion (audits/commits).
  • After patches, no more errors in the log.

Diff Detail

Repository
rP Phabricator
Branch
list1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16909
Build 22593: Run Core Tests
Build 22592: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.May 12 2017, 6:57 PM
This revision was automatically updated to reflect the committed changes.