Skip to content

Commit

Permalink
Described ibexa:content:remove-duplicate-fields in the 4.6.13 update …
Browse files Browse the repository at this point in the history
…doc (#2530)

* Described ibexa:content:remove-duplicate-fields in the 4.6.13 update doc

* Apply suggestions from code review

Co-authored-by: julitafalcondusza <[email protected]>

---------

Co-authored-by: julitafalcondusza <[email protected]>
  • Loading branch information
mnocon and julitafalcondusza committed Oct 31, 2024
1 parent 620d661 commit 124ebd3
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 following 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 value = 10000.
- `max-iterations` or `i` - max. iterations count (default or -1: unlimited). Default value = -1.
- `sleep` or `s` - wait time between iterations, in milliseconds. Default value = 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 124ebd3

Please sign in to comment.