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
F18679193: D17872.id.diff
Fri, Sep 26, 12:33 AM
F18622754: D17872.id42985.diff
Mon, Sep 15, 12:51 PM
F18616149: D17872.id42993.diff
Sun, Sep 14, 4:25 PM
F18599204: D17872.id42985.diff
Sat, Sep 13, 6:55 AM
F18103776: D17872.id.diff
Aug 10 2025, 7:46 AM
F18103740: D17872.id42993.diff
Aug 10 2025, 7:33 AM
F18102695: D17872.id42985.diff
Aug 9 2025, 10:48 PM
F18098820: D17872.diff
Aug 8 2025, 11:12 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.