I found a place where the weight for non-stored line items was null. Looking, I found that it was improperly set by an inline conditional assignment in uc_order_load_line_items().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 648870_proper_set_of_line_items.patch | 620 bytes | hanoii |
Comments
Comment #1
hanoiiOne line change, pretty obvious and easy to review.
Comment #2
tr commentedYes indeed - that was put into uc_order.module in revision 1.12.2.32, which was the 6.x-2.0 release. I verified the logic against the previous revision to make sure this patch reflected the intent of the original author. I'm surprised it went unnoticed for so long. Thanks for the patch. Committed.