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

[Migrations] ezrichtext field exception description is missing

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None

    Description

      Steps to reproduce:
      1. download attachment (title - richtext, media - objectrelationlist)
      2. execute

      php bin/console ibexa:migrations:migrate --file=content_test2.yaml
      

      Actual result
      Error message appears -

       [EzSystems\EzPlatformRichText\eZ\RichText\Exception\InvalidXmlException]
        Argument '$xmlString' is invalid: Start tag expected, '<' not found
      

      With stacktrace:

      Exception trace:
        at /Users/ts/ibexacomm/vendor/ezsystems/ezplatform-richtext/src/lib/eZ/RichText/DOMDocumentFactory.php:38
       EzSystems\EzPlatformRichText\eZ\RichText\DOMDocumentFactory->loadXMLString() at /Users/ts/ibexacomm/vendor/ezsystems/ezplatform-richtext/src/lib/eZ/RichText/InputHandler.php:84
       EzSystems\EzPlatformRichText\eZ\RichText\InputHandler->fromString() at /Users/ts/ibexacomm/vendor/ezsystems/ezplatform-richtext/src/lib/eZ/FieldType/RichText/Type.php:119
       EzSystems\EzPlatformRichText\eZ\FieldType\RichText\Type->createValueFromInput() at /Users/ts/ibexacomm/vendor/ezsystems/ezplatform-kernel/eZ/Publish/Core/FieldType/FieldType.php:382
       eZ\Publish\Core\FieldType\FieldType->acceptValue() at /Users/ts/ibexacomm/vendor/ezsystems/ezplatform-richtext/src/lib/eZ/FieldType/RichText/Type.php:197
       EzSystems\EzPlatformRichText\eZ\FieldType\RichText\Type->fromHash() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/lib/Service/FieldTypeService.php:57
       Ibexa\Platform\Migration\Service\FieldTypeService->getFieldValueFromHash() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/lib/StepExecutor/ContentCreateStepExecutor.php:121
       Ibexa\Platform\Migration\StepExecutor\ContentCreateStepExecutor->doHandle() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/contracts/StepExecutor/AbstractStepExecutor.php:44
       Ibexa\Platform\Contracts\Migration\StepExecutor\AbstractStepExecutor->handle() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/lib/StepExecutor/StepExecutorManager.php:35
       Ibexa\Platform\Migration\StepExecutor\StepExecutorManager->handle() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/lib/MigrationExecutor.php:63
       Ibexa\Platform\Migration\MigrationExecutor->execute() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/lib/MigrationService.php:181
       Ibexa\Platform\Migration\MigrationService->doExecuteMigration() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/lib/MigrationService.php:117
       Ibexa\Platform\Migration\MigrationService->executeOne() at /Users/ts/ibexacomm/vendor/ibexa/migrations/src/bundle/Command/MigrateCommand.php:188
       Ibexa\Platform\Bundle\Migration\Command\MigrateCommand->execute() at /Users/ts/ibexacomm/vendor/symfony/console/Command/Command.php:298
       Symfony\Component\Console\Command\Command->run() at /Users/ts/ibexacomm/vendor/symfony/console/Application.php:1033
       Symfony\Component\Console\Application->doRunCommand() at /Users/ts/ibexacomm/vendor/symfony/framework-bundle/Console/Application.php:96
       Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /Users/ts/ibexacomm/vendor/symfony/console/Application.php:299
       Symfony\Component\Console\Application->doRun() at /Users/ts/ibexacomm/vendor/symfony/framework-bundle/Console/Application.php:82
       Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/ts/ibexacomm/vendor/symfony/console/Application.php:171
       Symfony\Component\Console\Application->run() at /Users/ts/ibexacomm/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54
       Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run() at /Users/ts/ibexacomm/vendor/autoload_runtime.php:35
       require_once() at /Users/ts/ibexacomm/bin/console:11
      

      Expected result:
      A proper error message is shown

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              tomasz.szopinski@ibexa.co Tomasz Szopiński
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: