In commerce_coupon.install the schema for commerce_coupon_reference field_schema appears declared incorrectly.

It meant the commerce_coupon_reference_coupon_id field wasn't added to the field tables, resulting in odd entity api fatal errors.

The function is declared as commerce_coupon_reference_field_schema when it probably should be commerce_coupon_field_schema

Patch attached.

cheers,

DT

Comments

pcambra’s picture

Status: Active » Fixed

You couldn't be more right.
Committed in http://drupalcode.org/project/commerce_coupon.git/commit/c0559f6

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.