webgriffe/SyliusAkeneoPlugin

[BUG] - Product without any product translation will fail on post create event

Opened this issue · 0 comments

If a new product does not have any attribute handled by the translation property value handler, it will be created without it. All looks good, but then on the product post-create event, someone seems to create this product translation and then will fail while persisting on Db because the name is null.

A possible solution could be to always create the product translation for the default locale so that the validation will then fail.