Details
-
Bug
-
Resolution: Fixed
-
High
-
4.6.0-rc1
-
Ibexa Experience
Description
Steps to reproduce
- Install the latest Ibexa Experience (or Commerce) v4.5
- Follow the upgrade procedure as described via https://github.com/ibexa/documentation-developer/pull/2276/ till reaching Dashboard steps
- Instead of executing
php bin/console ibexa:migrations:migrate --file=2024_01_30_dashboard_structure.yaml --file=2024_01_30_dashboard_permissions.yaml
try doing that in 2 steps:
php bin/console ibexa:migrations:migrate --file=2024_01_30_dashboard_structure.yaml php bin/console ibexa:migrations:migrate --file=2024_01_30_dashboard_permissions.yaml
Actual behavior
Observe the following error:
In MigrationExecutor.php line 68:
Executing migration "2024_01_30_dashboard_permissions.yaml" failed. Exception: Failed denormalizing Step 0. Reference ref__predefined_dashboards_folder__path was not found.
In StepsDenormalizer.php line 71:
Failed denormalizing Step 0. Reference ref__predefined_dashboards_folder__path was not found
In Collection.php line 39:
Reference ref__predefined_dashboards_folder__path was not found
Expected behavior
Migration is executed correctly regardless of bulk or separate execution as long as the logical order is kept (structure, then permissions [for the structure])