Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-848

EE and CE Update from 4.4.6 to 4.5 generate exception for the commenting module. Have impact on STK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.1
    • 2.0
    • None
    • None

      STK has a optional dependency to STK-migration-module. As this module was renamed and moved to magnolia-4-5-migration, this renaming has to be done for the stk dependency.

      Orignie of the issue.
      This issue is blocking the migration.

      2012-03-08 09:27:03,593 ERROR info.magnolia.module.InstallContextImpl           : > Could not check property templateScript of node at /modules/commenting/templates/components/comments. Please create it with value /info/magnolia/module/commenting/frontend/comments.ftl.
      javax.jcr.PathNotFoundException: modules/commenting/templates/components/comments
      	at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2113)
      	at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2107)
      	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      
      AND
      
      2012-03-08 09:27:03,638 ERROR info.magnolia.module.InstallContextImpl           : > Error while installing or updating commenting module. Task 'Paragraph update' failed. (ItemExistsException: a node with uuid 5950460d-47ba-457b-a66b-6505e25cad0b already exists!)
      java.lang.RuntimeException: Error importing config.modules.commenting.templates.components.latestComments: a node with uuid 5950460d-47ba-457b-a66b-6505e25cad0b already exists!
      	at info.magnolia.importexport.DataTransporter.importXmlStream(DataTransporter.java:353)
      	at info.magnolia.importexport.BootstrapUtil.bootstrap(BootstrapUtil.java:113)
      	at info.magnolia.module.delta.BootstrapResourcesTask.execute(BootstrapResourcesTask.java:67)
      	at info.magnolia.module.delta.ConditionalDelegateTask.execute(ConditionalDelegateTask.java:64)
      	at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:499)
      	at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:481)
      	at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:270)
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:443)
      	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:1)
      	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403)
      	at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:264)
      	at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:127)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: javax.jcr.ItemExistsException: a node with uuid 5950460d-47ba-457b-a66b-6505e25cad0b already exists!
      

        Acceptance criteria

              ehechinger Eric Hechinger
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: