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
Unknown Object (File)
Mar 15 2026, 3:27 PM
Unknown Object (File)
Mar 10 2026, 8:35 PM
Unknown Object (File)
Feb 13 2026, 12:20 PM
Unknown Object (File)
Feb 8 2026, 11:26 PM
Unknown Object (File)
Feb 5 2026, 1:40 PM
Unknown Object (File)
Jan 21 2026, 12:22 PM
Unknown Object (File)
Jan 21 2026, 12:22 PM
Unknown Object (File)
Jan 21 2026, 8:37 AM
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.