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

SEO migration fails

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Customer request
    • 4.6.2
    • None
    • None
    • Yes

    Description

      Steps

      1. Install ibexa
      2. Edit "Landing page" content type
      3. Enable SEO for landing page
      4. Save
      5. Run php bin/console ibexa:migrations:generate --type=content_type --mode=update --match-property=content_type_identifier --value=landing_page
      6. Run php bin/console ibexa:migrations:migrate

      Reslut
      Exception:

      In MigrationExecutor.php line 68:
                                                                                                                                                                                                         
        Executing migration "1713271593_690567_content_type.yaml" failed. Exception: Ibexa\Seo\FieldType\SeoValueConverter::Ibexa\Seo\FieldType\{closure}(): Argument #1 ($field) must be of type Ibexa  
        \Seo\Value\SeoTypeValue, array given.                                                                                                                                                            
                                                                                                                                                                                                         
      
      In SeoValueConverter.php line 79:
                                                                                                                                                                
        Ibexa\Seo\FieldType\SeoValueConverter::Ibexa\Seo\FieldType\{closure}(): Argument #1 ($field) must be of type Ibexa\Seo\Value\SeoTypeValue, array given  
                                                                                                                                                                
      

      Expected result
      Migration is executed successfully

      Designs

        Attachments

          Activity

            People

              pawel.pawlik@ibexa.co Paweł Pawlik
              pawel.pawlik@ibexa.co Paweł Pawlik
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: