When I enabled the shipping module I recieved the following notice 'Undefined index: weight in field_info_max_weight() (ligne 799 dans C:\wamp\www\modules\field\field.info.inc)'. Then, after proceeding to next in checkout pane, I got the error 'EntityMetadataWrapperException : Unknown data property commerce_product. in EntityStructureWrapper->getPropertyInfo() (line 319)'

I don't know if both messages are linked or not, or if I missed something after enabling the three modules and the example method of shipping.

For information I'm running a clean install of drupal 7.2, and last dev versions (available on 06/01/2011) for commerce and its dependencies. The only other module installed is devel.

Comments

Devline’s picture

After reading at Commerce project the issue #1107788: Unknown data property commerce_product. in EntityStructureWrapper->getPropertyInfo(), I rebuild a fresh install and then the Unknown data property commerce_product error message disappeared, so it must have been some kind of error that happened in the install / enable process.

Nevertheless, the notice 'Undefined index: weight in field_info_max_weight() was still there when I enabled the shipping module.

Devline’s picture

Priority: Critical » Normal
googletorp’s picture

Title: EntityMetadataWrapperException : Unknown data property commerce_product » Installing commerce_shipping generates a notice: Undefined index: weight in field_info_max_weight()
Priority: Normal » Minor
googletorp’s picture

Status: Active » Closed (won't fix)

I attempted to fix this but failed. Upon further investigation I found that this is a bug in Drupal/commerce so this is not something I will try to fix.

googletorp’s picture

Status: Closed (won't fix) » Closed (works as designed)

Update issue status to a better fit.