In boxes_load, if you do not provide a delta then all boxes are loaded and returned. In this case the delta of each box is not passed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rbrandon’s picture

Patch to fix this, simple bug.

emackn’s picture

Assigned: Unassigned » emackn
Status: Needs review » Postponed (maintainer needs more info)

Do you have a test case to reproduce the problem this patch fixes.

rbrandon’s picture

Status: Postponed (maintainer needs more info) » Needs review

Every single time boxes_load is called without a delta.

To get to the call "ctools_export_load_object('box')" $delta must be null.
The loop is looping through all available boxes each which has it's delta stored in $box->delta.

-Richard