HomePhabricator

Fix a warning in BoardLayoutEngine when no objects are being updated

Description

Fix a warning in BoardLayoutEngine when no objects are being updated

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.

Maniphest Tasks: T13368

Differential Revision: https://secure.phabricator.com/D20701

Details

Provenance
epriestleyAuthored on Aug 7 2019, 4:04 PM
Parents
rPHAB0561043a1f57: In "Move task to..." workflow, separate visible and hidden columns in the…
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline