Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2773

[Migrations] It's not possible to specify attribute values using attribute identifier

    XMLWordPrintable

Details

    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
      

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              marek.nocon@ibexa.co Marek Nocoń
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: