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

[Migrations] richtext migrations error is not clear

    XMLWordPrintable

Details

    Description

      Steps to reproduce:
      1. migrate a file (in this example - a folder) :

      -
        type: content
        mode: update
        match:
          field: content_remote_id
          value: 05872ffa93dc14749e5a7f79145d2216
          only_visible_content: false
        fields:
          -
            fieldDefIdentifier: name
            languageCode: eng-US
            value: folder211
          -
            fieldDefIdentifier: short_name
            languageCode: eng-US
            value: f211
          -
            fieldDefIdentifier: short_description
            languageCode: eng-US
            value: sdf211
          -
            fieldDefIdentifier: description
            languageCode: eng-US
            value: df211
      

      Actual result:
      Error occurs due to richtext field in folder CT. Problem is, it doesnt point clearly to the problem with richtext field.

      In MigrationExecutor.php line 71:
                                                                             
        Argument '$xmlString' is invalid: Start tag expected, '<' not found  
                                                                             
      
      In DOMDocumentFactory.php line 38:
                                                                             
        Argument '$xmlString' is invalid: Start tag expected, '<' not found  
      

      Expected result:
      Clear error message appears

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated: