Needs review
Project:
Boxes
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Aug 2011 at 14:22 UTC
Updated:
3 Nov 2011 at 19:16 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | boxes_load_alter-incorrect-delta-707484-1.patch | 463 bytes | rbrandon |
Comments
Comment #1
rbrandon commentedPatch to fix this, simple bug.
Comment #2
emackn commentedDo you have a test case to reproduce the problem this patch fixes.
Comment #3
rbrandon commentedEvery 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