Details
-
Bug
-
Resolution: Fixed
-
High
-
3.3.4
-
None
-
None
Description
steps to reproduce
- install clean Ibexa DXP 3.3
- create migration file like above:
- type: content mode: create content_type: article location: parentLocationId: 2 locationRemoteId: hidden: false sortField: 1 sortOrder: 1 priority: 0 lang: eng-GB section: 8 metadata: contentType: article mainTranslation: eng-GB creatorId: 14 modificationDate: '2002-10-06T15:19:56+00:00' publicationDate: '2002-10-06T15:19:56+00:00' alwaysAvailable: true section: 7 objectStates: { } always_available: false fields: - fieldDefIdentifier: title languageCode: eng-GB value:Article - fieldDefIdentifier: intro languageCode: eng-GB value: >- <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml" xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" version="5.0-variant ezpublish-1.0"> <para>Data & privacy regulations</para> </section> actions: { }
- Run php bin/console ibexa:migrations:migrate
Result
An article was created with the default section
Expected result
An article should be created with a section from metadata