Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4079

Allow execution of initialization from the migration tool

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 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.

            Unassigned Unassigned
            ggouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: