Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.19, 4.0.6, 4.1.3
Description
When updating the field in content type, the required and translations fields are required, even if we do not change them
Steps to reproduce
- Install Ibexa DXP 3.3
- Create a migration file (e.g. via php bin/console ibexa:migration:generate)
- Change the position of the field and leave only the necessary data like identifier, type, and position. Example file for image CT:
- type: content_type mode: update match: field: content_type_identifier value: image metadata: identifier: image mainTranslation: eng-GB modifierId: 14 modificationDate: '2002-09-08T11:36:32+00:00' remoteId: f6df12aa74e36230eb675f364fccd25a urlAliasSchema: null nameSchema: '<name>' container: false defaultAlwaysAvailable: true defaultSortField: 1 defaultSortOrder: 1 translations: eng-GB: name: Image fields: - identifier: name type: ezstring position: 2 - identifier: caption type: ezrichtext position: 1
- Import migration
Result
Can't execute migration with the error message:
Failed denormalizing Step 0. Notice: Undefined index: required
Expected result
Possibility execute migration without entering fields that are not needed during the change