Skip to content

Commit 124ebd3

Browse files
Described ibexa:content:remove-duplicate-fields in the 4.6.13 update 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]>
1 parent 620d661 commit 124ebd3

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

docs/update_and_migration/from_4.6/update_from_4.6.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ No additional steps needed.
119119

120120
## v4.6.10
121121

122-
A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
122+
No additional steps needed.
123123

124124
## v4.6.11
125125

@@ -138,8 +138,27 @@ merge with your custom settings if needed, and commit them to Git.
138138

139139
## v4.6.12
140140

141-
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`:
141+
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`:
142142

143143
```php
144144
Ibexa\Bundle\CoreSearch\IbexaCoreSearchBundle::class => ['all' => true],
145145
```
146+
147+
## v4.6.13
148+
149+
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).
150+
151+
If you're affected you can remove the duplicated entries by running the following command:
152+
``` bash
153+
php bin/console ibexa:content:remove-duplicate-fields
154+
```
155+
156+
!!! caution
157+
158+
Remember about [**proper database backup**](backup.md) before running the command in the production environment.
159+
160+
You can customize the behavior of the command with the following options:
161+
162+
- `batch-size` or `b` - number of attributes affected per iteration. Default value = 10000.
163+
- `max-iterations` or `i` - max. iterations count (default or -1: unlimited). Default value = -1.
164+
- `sleep` or `s` - wait time between iterations, in milliseconds. Default value = 0.

mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ extra:
923923
latest_tag_4_3: '4.3.5'
924924
latest_tag_4_4: '4.4.4'
925925
latest_tag_4_5: '4.5.7'
926-
latest_tag_4_6: '4.6.12'
926+
latest_tag_4_6: '4.6.13'
927927

928928
symfony_doc: 'https://symfony.com/doc/5.4'
929929
user_doc: 'https://doc.ibexa.co/projects/userguide/en/master'

0 commit comments

Comments
 (0)