Page MenuHomePhabricator

Fix a warning in BoardLayoutEngine when no objects are being updated
ClosedPublic

Authored by epriestley on Aug 7 2019, 4:20 PM.
Tags
None
Referenced Files
F19749516: D20701.diff
Sun, Feb 15, 8:18 PM
F19711149: D20701.id49365.diff
Wed, Feb 11, 5:58 PM
F19699741: D20701.id49370.diff
Tue, Feb 10, 7:57 PM
F19515263: D20701.diff
Jan 14 2026, 9:39 AM
F19515236: D20701.diff
Jan 14 2026, 9:29 AM
F19469304: D20701.id.diff
Jan 4 2026, 8:30 PM
F19214508: D20701.diff
Dec 17 2025, 5:09 AM
F19039977: D20701.diff
Nov 26 2025, 10:33 AM
Subscribers
None

Details

Summary

Fixes T13368. Some workflows (like "Move tasks to...") execute board layout without objects to update. In these cases, we can hit a warning because objectPHIDs is not initialized to array().

Test Plan

Went through the "Move tasks to..." workflow on a workboard, no longer saw a warning when trying to iterate over an empty objectPHIDs list.

Diff Detail

Repository
rP Phabricator
Branch
column4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23230
Build 31912: Run Core Tests
Build 31911: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 8 2019, 5:18 PM
This revision was automatically updated to reflect the committed changes.