Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
mnocon marked this conversation as resolved.
Show resolved Hide resolved
``` 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.
mnocon marked this conversation as resolved.
Show resolved Hide resolved
- `max-iterations` or `i` - max. iterations count (default or -1: unlimited). Default: -1.
mnocon marked this conversation as resolved.
Show resolved Hide resolved
- `sleep` or `s` - wait time between iterations, in milliseconds. Default: 0.
mnocon marked this conversation as resolved.
Show resolved Hide resolved
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
Loading