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)
Mon, Dec 30, 12:02 AM
Unknown Object (File)
Sun, Dec 22, 3:42 AM
Unknown Object (File)
Thu, Dec 12, 6:53 AM
Unknown Object (File)
Dec 7 2024, 8:26 PM
Unknown Object (File)
Dec 6 2024, 10:28 PM
Unknown Object (File)
Dec 5 2024, 11:55 PM
Unknown Object (File)
Nov 19 2024, 6:16 PM
Unknown Object (File)
Nov 15 2024, 10:04 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.