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
F13171925: D17872.diff
Tue, May 7, 12:15 PM
F13165337: D17872.diff
Tue, May 7, 5:19 AM
Unknown Object (File)
Fri, May 3, 2:40 AM
Unknown Object (File)
Wed, May 1, 12:52 AM
Unknown Object (File)
Mon, Apr 29, 2:13 PM
Unknown Object (File)
Fri, Apr 26, 8:20 AM
Unknown Object (File)
Wed, Apr 24, 10:17 PM
Unknown Object (File)
Mar 31 2024, 10:58 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.