Uploaded image for project: 'URL Translation'
  1. URL Translation
  2. MURLTRANS-6

Could not execute task: Path not found: /modules/url-translation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.6.2
    • 5.6
    • None
    • None

      Got this error while installing on Magnolia 5.7, Core 5.7.1.

      ERROR info.magnolia.module.InstallContextImpl 10.09.2018 04:25:01 -- [822/1200 tasks - Magnolia URL Translation Module (version 5.6.1)]> Could not install or update url-translation module. Task 'Create default config' failed. (PathNotFoundException: /modules/url-translation)ERROR info.magnolia.module.InstallContextImpl 10.09.2018 04:25:01 -- [822/1200 tasks - Magnolia URL Translation Module (version 5.6.1)]> Could not install or update url-translation module. Task 'Create default config' failed. (PathNotFoundException: /modules/url-translation)info.magnolia.module.delta.TaskExecutionException: Could not execute task: Path not found: /modules/url-translation at info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:59) ~[magnolia-core-5.7.jar:?] at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:511) [magnolia-core-5.7.jar:?] at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:493) [magnolia-core-5.7.jar:?] at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:279) [magnolia-core-5.7.jar:?] at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:407) [magnolia-core-5.7.jar:?] at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:404) [magnolia-core-5.7.jar:?] at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:378) [magnolia-core-5.7.jar:?] at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:273) [magnolia-core-5.7.jar:?] at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:126) [magnolia-core-5.7.jar:?] at java.lang.Thread.run(Thread.java:844) [?:?]Caused by: javax.jcr.PathNotFoundException: /modules/url-translation at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:576) ~[jackrabbit-core-2.16.1.jar:2.16.1] at org.apache.jackrabbit.core.session.SessionItemOperation$6.perform(SessionItemOperation.java:129) ~[jackrabbit-core-2.16.1.jar:2.16.1] at org.apache.jackrabbit.core.session.SessionItemOperation$6.perform(SessionItemOperation.java:125) ~[jackrabbit-core-2.16.1.jar:2.16.1] at org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187) ~[jackrabbit-core-2.16.1.jar:2.16.1] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) ~[jackrabbit-core-2.16.1.jar:2.16.1] at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:363) ~[jackrabbit-core-2.16.1.jar:2.16.1] at org.apache.jackrabbit.core.SessionImpl.getNode(SessionImpl.java:1151) ~[jackrabbit-core-2.16.1.jar:2.16.1] at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNode(DelegateSessionWrapper.java:177) ~[magnolia-core-5.7.jar:?] at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNode(ContentDecoratorSessionWrapper.java:120) ~[magnolia-core-5.7.jar:?] at info.magnolia.module.delta.CreateNodeTask.doExecute(CreateNodeTask.java:68) ~[magnolia-core-5.7.jar:?] at info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:57) ~[magnolia-core-5.7.jar:?] ... 9 more 

       

      What makes this really weird is that when I look at the source on that version handler, it's a CreateNodeTask...  So, the path shouldn't exist prior to the task execution.

      https://git.magnolia-cms.com/projects/SERVICES/repos/url-translation/browse/magnolia-url-translation/src/main/java/info/magnolia/i18n/url/translation/setup/UrlTranslationModuleVersionHandler.java#70

       

       

       

        Acceptance criteria

              rgange Richard Gange
              iancervantez Ian Cervantez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD