Skip to content

Commit

Permalink
Described ibexa:content:remove-duplicate-fields in the 4.6.13 update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Oct 29, 2024
1 parent 7ab238a commit aca197c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
23 changes: 21 additions & 2 deletions docs/update_and_migration/from_4.6/update_from_4.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 `i` - max iterations count (default or -1: unlimited). Default: -1.
- `sleep` or `s` - wait time between iterations, in milliseconds. Default: 0.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit aca197c

Please sign in to comment.