Uploaded image for project: 'Links directory'
  1. Links directory
  2. LINKS-192

Error during automatic migration on link directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.13.0
    • 2.13.0
    • None
    • 4.4RC2
    • 4.4 RC3

      2021-03-10 14:44:58,390 ERROR [org.ametys.plugins.core.ui.script.ScriptHandler] (main;) An exception occurred while running script
      There's no node for id directoryTheme://f4e92181-1302-42b6-ae34-d37f71af4e07
              at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:187)
              at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:137)
              at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:58)
              at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:360)
              at <js> migrateTheme(generated script:81:2503-2551)
              at <js> migrateTagsInANode(generated script:58:1881-1922)
              at <js> migrateLinks(generated script:42:1363-1421)
              at <js> migrateAll(generated script:160:4679-4699)
              at <js> main(generated script:167:4775-4804)
              at <js> :program(generated script:1973:66903-66908)
              at org.graalvm.polyglot.Context.eval(Context.java:345)
              at org.ametys.plugins.core.ui.script.ScriptHandler._executeScript(ScriptHandler.java:207)
              at org.ametys.plugins.core.ui.script.ScriptHandler.executeScript(ScriptHandler.java:144)
              at org.ametys.core.migration.action.impl.ScriptAction.doAction(ScriptAction.java:83)
              at org.ametys.core.migration.MigrationExtensionPoint._applyUpgradeActions(MigrationExtensionPoint.java:245)
              at org.ametys.core.migration.MigrationExtensionPoint.doMigration(MigrationExtensionPoint.java:156)
              at org.ametys.runtime.servlet.RuntimeServlet._initMigration(RuntimeServlet.java:402)
              at org.ametys.runtime.servlet.RuntimeServlet.doMigrationAndInit(RuntimeServlet.java:370)
              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)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
              at 
      

            pgros Pierre Gros (Inactive)
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: