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

[Data migration] Cannot set Content Type as container

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 4.2.x-dev
    • None

    Description

      When using data migration, you cannot add the "container" metadata to a Content Type.

      -
          type: content
          mode: create
          metadata:
              contentType: blog
              mainTranslation: eng-GB
              container: true
          location:
              parentLocationId: 2
          fields:
              -   fieldDefIdentifier: title
                  languageCode: eng-GB
                  value: 'Blog'
      

      This results in a Content Type that does not have the Container flag enabled.

      Similarly, when generating migrations from a Content Type that is a container (for example, the built-in Folder CT), the resulting file has no information about being a container.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              dominika.kurek-obsolete@ibexa.co Dominika Kurek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: