Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1346

Error during automatic migration of 4.4 -> 4.5.5.snap : Error while executing script to upgrade component 'plugin.workspaces.jcr.tasks' to version '20210702T0000'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.8.0
    • 2.7.0
    • Module Tasks
    • None
    • 4.6 M3

      ametys-plugin-workspaces-2.8.0.20220614-2331-b1299-SNAPSHOT.jar

      2022-06-15 09:29:15,735 ERROR [org.ametys.core.migration.MigrationExtensionPoint] (main;) Error during the automatic migration
      org.ametys.core.migration.MigrationException: Error while executing script to upgrade component 'plugin.workspaces.jcr.tasks' to version '20210702T0000'. Error : '', message : 'TypeError: invokeMember (isNewRepository) on org.ametys.plugins.repository.migration.jc
      r.data.VersionsRootHelper@2d35e5a4 failed due to: Unknown identifier: isNewRepository', stacktrace : 'TypeError: invokeMember (isNewRepository) on org.ametys.plugins.repository.migration.jcr.data.VersionsRootHelper@2d35e5a4 failed due to: Unknown identifier: isNew
      Repository
              at <js> main(generated script:82:4181-4297)
              at <js> :program(generated script:2160:75688-75693)
              at org.graalvm.polyglot.Context.eval(Context.java:353)
              at org.ametys.plugins.core.ui.script.ScriptHandler._executeScript(ScriptHandler.java:210)
              at org.ametys.plugins.core.ui.script.ScriptHandler.executeScript(ScriptHandler.java:147)
              at org.ametys.core.migration.action.impl.ScriptAction.doAction(ScriptAction.java:84)
              at org.ametys.core.migration.MigrationExtensionPoint._applyUpgradeActions(MigrationExtensionPoint.java:312)
              at org.ametys.core.migration.MigrationExtensionPoint.doMigration(MigrationExtensionPoint.java:188)
              at org.ametys.runtime.servlet.RuntimeServlet._initMigration(RuntimeServlet.java:411)
              at org.ametys.runtime.servlet.RuntimeServlet.doMigrationAndInit(RuntimeServlet.java:374)
              at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:314)
              at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:215)
              at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      

            raphael Raphaƫl Franchet
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: