Hi everyone,

I have a 7.53 Drupal with Commerce Module, a node type and a "Inline entity form - Multiple values" field inside it, which I use to create multiple variations of a product.
When I try to create a new product, I fill in all the fields of the inline entity form" field and click on "create product", but here a dialogue window opens telling there's an error with an Ajax HTTP request.
if I close this window, click again on "create product" button and refresh the page, the product has been created properly.

Here's the text of the error:

EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. Value at commerce_line_item()->commerce_product: . in EntityDrupalWrapper->set() (linea 756 di /mnt/data/web-data/altaserbatoi.stage.s4win.com/sites/all/modules/entity/includes/entity.wrapper.inc).
Si è verificato un errore inatteso. Riprova più tardi, grazie.

ReadyState: undefined

What can I do to avoid this error? Even though the products are created properly, I can't give my clients a tool with such a bad error when creating a product.

Thank you in advance,

V.M.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

valeria_malacasa_s4win created an issue.