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.
Comment | File | Size | Author |
---|---|---|---|
Schermata 2017-01-30 alle 14.40.17.png | 57.36 KB | valeria_malacasa_s4win |
Comments