As seen in the attached picture, the price and status fields arn't retrieved. When clicking the save button im getting the following error.

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /drupal/system/ajax
StatusText: Service unavailable (with message)
ResponseText: EntityMalformedException: Missing bundle property on entity of type commerce_product. in entity_extract_ids() (line 7641 of C:\xampp\htdocs\drupal\includes\common.inc).

Using this module with Commerce 7.x-1.4

Comments

rei’s picture

dimitriseng’s picture

Same here...

vasike’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new2.25 KB

i can confirm this issue.
this issue take place because there's no product id data in the results for the quick edit handler, which means we have no entity (product) data for the quick edit form.
so the quick edit form have no product defined, it's an "empty" form.

this happens because there's no product image field defined.
this field exists in commerce kickstart and helps getting the product data.

patch
here is patch that adds the " Commerce Product: Product ID" field to the "Commerce Backoffice: Product variations" view.
Excludes from display & No label.
this also take care for some notices from log messages for the missing taxonomy terms.

vasike’s picture

here is a new approach to get the product id/data.
add 'product_id' as the real field to the views Quick Edit Form field definition.

jbekker’s picture

Both patches work for me.

bojanz’s picture

Status: Needs review » Fixed

Committed #4.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

typo