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

Rich text field handled by migration

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 4.6.0-beta1, 4.5.2
    • None

    Description

      We don't have information in our documentations how to handle rich text field type by migrations. Would be nice to have such information. Here is an example:

       - fieldDefIdentifier: description
         languageCode: eng-GB
         value:
             xml: |
                 <?xml version="1.0" encoding="UTF-8"?>
                 <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml" xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0"><para>valueOfFieldDescription</para></section>

      https://github.com/ibexa/test-fixtures/blob/main/src/bundle/Resources/migrations/headless/008_content.yaml#L41-L46

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: