Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
Ibexa Content
Description
It's not possible to create a Product and specify the Attribute values using Attribute identifier in migrations.
Steps to reproduce:
1. Download the attachment
2. Execute: php bin/console ibexa:migrations:migrate --file=path/to/attachment/reproducer.yaml
Expected:
Product with specified attribute values is created
Actual:
Exception:
In MigrationExecutor.php line 71:
Argument 2 passed to Ibexa\ProductCatalog\Local\Persistence\Legacy\Attribute\Gateway\DoctrineDatabase::create() must be of the type int, string given, called in /Users/mareknocon/Desktop/Sites/v3_2/vendor/ibexa/product-catalog/sr
c/lib/FieldType/ProductSpecification/Persistence/Gateway/Storage.php on line 102