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
F19469304: D20701.id.diff
Sun, Jan 4, 8:30 PM
F19214508: D20701.diff
Wed, Dec 17, 5:09 AM
F19039977: D20701.diff
Nov 26 2025, 10:33 AM
F18848826: D20701.id49370.diff
Oct 30 2025, 6:30 AM
F18842229: D20701.id49365.diff
Oct 28 2025, 2:15 PM
F18827562: D20701.diff
Oct 24 2025, 10:49 AM
F18791748: D20701.diff
Oct 16 2025, 5:40 PM
F18736889: D20701.id.diff
Oct 1 2025, 8:10 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.