Closed (fixed)
Project:
Commerce decimal quantities
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2012 at 18:44 UTC
Updated:
1 Apr 2013 at 09:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
5n00py commentedVery simple patch :)
Comment #2
guy_schneerson commentedThanks @5n00py, looks good will try and review and commit soon
Comment #3
5n00py commented@guy_schneerson Any progress?
Comment #4
guy_schneerson commentedThis patch fixes the problem however the original code should ideally be reviewed as it should use commerce_product_line_item_types() to check if line item is a product and also the second loop look may be redundant.
committed http://drupalcode.org/project/commerce_decimal_quantities.git/commit/c18...
Comment #5
guy_schneerson commentedComment #7
GaborTorok commentedThis problem was reintroduced at another place with the addition of
commerce_decimal_quantities_field_widget_form_alter()in commit http://drupalcode.org/project/commerce_decimal_quantities.git/commit/33b...I inserted a check that solves the problem for me. Patch attached.
Comment #8
guy_schneerson commentedthanks @GaborTorok will review and commit
Comment #9
5n00py commentedI'll test patch from #7. It fix the problem and everything looks good!
Comment #10
guy_schneerson commentedThanks @GaborTorok & @5n00py great work
Committed http://drupalcode.org/project/commerce_decimal_quantities.git/commit/06d...