Now that Product Variations are in, and have SKUs, they do not validate correctly when using inline_entity_form.

This will need to be fixed, and their test fixed.

Comments

dbolinovski’s picture

It seems that there is attempt to write variations in the database tables when 'Create entity' is clicked on product add form.
I was not able to set a variation in product add form, it did nothing, there were no messages on page, but in logs I found this:

Type: commerce_product_variation
Date: Thursday, September 10, 2015 - 15:04
User: admin
Location: http://127.0.0.1/d8dev/product/add/default?_wrapper_format=drupal_ajax&a...
Referrer: http://127.0.0.1/d8dev/product/add/default
Message: LogicException: Entity validation was skipped. in Drupal\Core\Entity\ContentEntityBase->preSave() (line 356 of /home/dime/www/d8dev/core/lib/Drupal/Core/Entity/ContentEntityBase.php).
Severity: Error
Hostname: 127.0.0.1

It dissapears when I pulled last dev.

subhojit777’s picture

The issues are same I think

bojanz’s picture

Status: Active » Fixed

The linked IEF issue has been fixed. We've also identified other IEF improvements that will need to happen before that module hits beta. Closing this issue for now.

Status: Fixed » Closed (fixed)

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