-
Improvement
-
Resolution: Unresolved
-
Major
-
4.9.0
-
None
-
None
Being able to execute an upgrade with a simple click in admin is super handy while developping an upgrade. But it's currently not supported for the initialization as it results in the following error :
Caused by: org.ametys.core.migration.MigrationException: no such upgrade: 0 at org.ametys.runtime.plugins.admin.migration.MigrationsActionsClientSideElement.lambda$1(MigrationsActionsClientSideElement.java:132) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at org.ametys.runtime.plugins.admin.migration.MigrationsActionsClientSideElement.doAction(MigrationsActionsClientSideElement.java:132)
Adding the support should be pretty simple by handling the 0 version with a special case in the client side element.