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

[Test Fixtures] Shipping migrations fail to execute

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.6.x-dev
    • None

    Description

      Executing test:fixtures fails with:

       

      ~/Desktop/Sites/v4_6 on master !13 ?4 ❯ php bin/console ibexa:test-fixtures:setup                                                                                                                 took 4m 15s  14.17.0  3.0.0 at 14:13:50
      Setting up...
      Installed product version: commerce
      
      Running provider: headless
       14/14 -- 10 mins -- Executing: (headless_013_create_admins_64d384e6746d3)
      Running provider: experience
       6/6 -- 37 secs -- Executing: (experience_005_change_sales_rep_64d38758ca6f8)
      Running provider: commerce
       2/2 -- 1 sec -- Executing: (commerce_001_shipping_methods_64d3877dc2526)
      
       [ERROR] Rolling back migrations!
      
      In SetupTestFixturesCommand.php line 96:
      
        Could not find 'Ibexa\Contracts\ProductCatalog\Values\RegionInterface' with identifier 'germany'
      
      In MigrationExecutor.php line 71:
      
        Could not find 'Ibexa\Contracts\ProductCatalog\Values\RegionInterface' with identifier 'germany'
      
      In RegionPool.php line 36:
      
        Could not find 'Ibexa\Contracts\ProductCatalog\Values\RegionInterface' with identifier 'germany' 

      Our code does not recognise the new region configuration (added in Yaml) because it's added by the same Command that later requires it - a cache:clear should be executed between them to make sure that the new config is recognised.

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: