drupal-7.0-rc3 (2010-Dec-23)
commerce-7.x-1.x (2010-Dec-23)
addressfield-7.x-1.x (2010-Nov-21)
ctools-7.x-1.x (2010-Nov-10)
entity-7.x-1.0-beta5 (2010-Dec-23)
rules-7.x-2.x (2010-Dec-22)
views-7.x-3.x (2010-Dec-23)

After a fresh, bleeding edge install. . .
When attempting to add a "Product Type" the following error is displayed:

Notice: Undefined property: stdClass::$module in commerce_product_ui_product_type_form_wrapper() (line 80 of /var/www/drupal-7.0-rc3/sites/all/modules/commerce/modules/product/includes/commerce_product_ui.types.inc).

Individual product types can have different fields assigned to them.
This product type cannot be edited, because it is not defined by the Product UI module.

Comments

rszrama’s picture

Status: Needs review » Fixed

Ahh, yep. I forgot to accommodate the empty product type object on the add form when fixing an issue to ensure non-Product UI types couldn't be edited or deleted. Committed:

https://github.com/rszrama/drupalcommerce/commit/628bd4edee6d841c0d7c1d1...

rszrama’s picture

Whoops, introduced a regression in that patch right before committing. :-/

https://github.com/rszrama/drupalcommerce/commit/776009e8926bf034cda998f...

remy.je’s picture

Fix confirmed. Thank you!

Status: Fixed » Closed (fixed)

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