I get this error when editing an existing commerce product:
Notice: Trying to get property of non-object in _commerce_pdm_get_product_reference_form_inputs() (line 437 of commerce_product_display_manager/commerce_pdm.module).

Comments

netsensei’s picture

Status: Active » Postponed (maintainer needs more info)

How do I reproduce this error?

Was the product already referenced to any products? Did you add/delete/edit a product display node? What steps did you take to get this error?

I can't seem to reproduce this with 7.x-dev.

Trey’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.x-dev
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.05 KB

This error can occur when referencing a product from another product, a simple patch adjusting the query to limit entity selection to nodes