diff --git a/docs/update_and_migration/from_4.6/update_from_4.6.md b/docs/update_and_migration/from_4.6/update_from_4.6.md index 0da7dd7f38..093f02a86d 100644 --- a/docs/update_and_migration/from_4.6/update_from_4.6.md +++ b/docs/update_and_migration/from_4.6/update_from_4.6.md @@ -119,7 +119,7 @@ No additional steps needed. ## v4.6.10 -A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon. +No additional steps needed. ## v4.6.11 @@ -138,8 +138,27 @@ merge with your custom settings if needed, and commit them to Git. ## v4.6.12 -If the new bundle `ibexa/core-search` has not been added by the recipies, enable it by adding the following line in `config/bundles.php`: +If the new bundle `ibexa/core-search` has not been added by the recipes, enable it by adding the following line in `config/bundles.php`: ```php Ibexa\Bundle\CoreSearch\IbexaCoreSearchBundle::class => ['all' => true], ``` + +## v4.6.13 + +This release comes with a command to clean up the duplicated entries in the `ezcontentobject_attribute` table, caused by the issue described in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562). + +If you're affected you can remove the duplicated entries by running the `ibexa:content:remove-duplicate-fields` command: +``` bash +php bin/console ibexa:content:remove-duplicate-fields +``` + +!!! caution + + Remember about [**proper database backup**](backup.md) before running the command in the production environment. + +You can customize the behavior of the command with the following options: + +- `batch-size` or `b` - number of attributes affected per iteration. Default: 10000. +- `max-iterations` or `m` - max iterations count (default or -1: unlimited). Default: -1. +- `sleep` or `s` - wait time between iterations, in milliseconds. Default: 0. diff --git a/mkdocs.yml b/mkdocs.yml index a4396ef833..e620a6f3d6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -923,7 +923,7 @@ extra: latest_tag_4_3: '4.3.5' latest_tag_4_4: '4.4.4' latest_tag_4_5: '4.5.7' - latest_tag_4_6: '4.6.12' + latest_tag_4_6: '4.6.13' symfony_doc: 'https://symfony.com/doc/5.4' user_doc: 'https://doc.ibexa.co/projects/userguide/en/master'