Skip to content

Commit 9b895fd

Browse files
committed
update_to_5.0.md: About legacy_alias
1 parent 08e485a commit 9b895fd

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

docs/update_and_migration/from_4.6/update_to_5.0.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,16 @@ But you can also go faster with bigger [rule sets in the modern way](https://get
439439

440440
#### Update field type identifiers
441441

442-
- Update in template
443-
- TODO: `{% block ezstring_field %)``{% block ibexa_string_field %}` (content_fields.html.twig) and others (field edit, field def, field def edit,…)
444-
- TODO: Configs, template paths, template rules, whatever needed…
445-
- Update in migration files
442+
Several field type identifiers have changed.
443+
Old identifiers are still supported, but it's recommended to migrate as soon as possible
444+
and to include this action to the verion update task list.
445+
446+
You can list existing field type services with the command `php bin/console debug:container --tag=ibexa.field_type`.
447+
The output as an `alias` column with new identifiers and a `legacy_alias` with the old ones.
446448

447449
??? note "Field type identifiers renaming map"
448450

449-
| old name | new name |
451+
| old identifier (`legacy_alias`) | new identifier (`alias`) |
450452
|:--------------------------------|:--------------------------------|
451453
| ibexa_address | ibexa_address |
452454
| ezauthor | ibexa_author |
@@ -484,6 +486,13 @@ But you can also go faster with bigger [rule sets in the modern way](https://get
484486
| ezurl | ibexa_url |
485487
| ezuser | ibexa_user |
486488

489+
490+
- Update in template
491+
- TODO: `{% block ezstring_field %)``{% block ibexa_string_field %}` (content_fields.html.twig) and others (field edit, field def, field def edit,…)
492+
- TODO: Configs, template paths, template rules, whatever needed…
493+
- Update in migration files
494+
- TODO: Update in DB?
495+
487496
#### Update Back Office extensions
488497

489498
TODO: Update JS, templates, CSS…

0 commit comments

Comments
 (0)