Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.6.x-dev, 4.5.2
-
None
-
[4.6] - Sprint 10
-
Yes
Description
When exporting a contenttype which has SEO metadata, that SEO metadata is not exported
Steps to reproduce :
- Create a contentype and define some SEO data
- Export the data
php bin/console ibexa:migrations:generate --type=content_type --mode=create --match-property=content_type_identifier --value=content_seo - Inspect the exported data and notice that the SEO metadata is not in the export
- type: content_type mode: create metadata: identifier: content_seo mainTranslation: eng-GB creatorId: 14 creationDate: '2023-06-08T08:04:41+00:00' remoteId: f3bad8aa7ce643251bb941c744f84dc0 urlAliasSchema: '' nameSchema: '<name>' container: true defaultAlwaysAvailable: true defaultSortField: 2 defaultSortOrder: 0 contentTypeGroups: - Content translations: eng-GB: name: 'Content With SEO' description: 'Content with SEO' fields: - identifier: name type: ezstring position: 0 translations: eng-GB: name: Name description: '' required: true searchable: true infoCollector: false translatable: true category: content defaultValue: null fieldSettings: \{ } validatorConfiguration: StringLengthValidator: maxStringLength: null minStringLength: null - identifier: number type: ezinteger position: 1 translations: eng-GB: name: Number description: '' required: false searchable: true infoCollector: false translatable: true category: content defaultValue: 5 fieldSettings: \{ } validatorConfiguration: IntegerValueValidator: minIntegerValue: 1 maxIntegerValue: 10 - identifier: vfield_64818b995bea3 type: ibexa_seo position: 100 translations: eng-GB: name: 'SEO Vtest' description: 'V SEO description' required: false searchable: false infoCollector: false translatable: true category: content defaultValue: value: null fieldSettings: types: null validatorConfiguration: \{ } references: - name: ref_{_}content_seo{_}_content_type_id type: content_type_id
- As a consequence, SEO metadata will not be included when importing the migration export again
Importing Content with SEO meta data does not work ( export seems to work )
Steps to reproduce:
- Export some content that has SEO metadata defined:
php bin/console ibexa:migrations:generate --type=content --mode=create --match-property=content_id --value=67 - Inspect the exported data, the SEO metadata is there :
- type: content_type mode: create metadata: identifier: content_seo mainTranslation: eng-GB creatorId: 14 creationDate: '2023-06-08T08:04:41+00:00' remoteId: f3bad8aa7ce643251bb941c744f84dc0 urlAliasSchema: '' nameSchema: '<name>' container: true defaultAlwaysAvailable: true defaultSortField: 2 defaultSortOrder: 0 contentTypeGroups: - Content translations: eng-GB: name: 'Content With SEO' description: 'Content with SEO' fields: - identifier: name type: ezstring position: 0 translations: eng-GB: name: Name description: '' required: true searchable: true infoCollector: false translatable: true category: content defaultValue: null fieldSettings: { } validatorConfiguration: StringLengthValidator: maxStringLength: null minStringLength: null - identifier: number type: ezinteger position: 1 translations: eng-GB: name: Number description: '' required: false searchable: true infoCollector: false translatable: true category: content defaultValue: 5 fieldSettings: { } validatorConfiguration: IntegerValueValidator: minIntegerValue: 1 maxIntegerValue: 10 - identifier: vfield_64818b995bea3 type: ibexa_seo position: 100 translations: eng-GB: name: 'SEO Vtest' description: 'V SEO description' required: false searchable: false infoCollector: false translatable: true category: content defaultValue: value: null fieldSettings: types: null validatorConfiguration: { } references: - name: ref__content_seo__content_type_id type: content_type_id
- Import the data again
- Notice that the title=V SEO title test1 is not imported
Designs
Attachments
Issue Links
- testing discovered
-
IBX-6476 [REST] SEO field type metadata is not exposed/used when getting or creating content type
- Closed