Uploaded image for project: 'Migration 4.4 to 4.5 (closed)'
  1. Migration 4.4 to 4.5 (closed)
  2. MGNLMIGRATION-4

EE CE Update from 4.4.6 to 4.5 generate exception for the commenting module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.0.1
    • 1.0
    • None
    • None

      Migration module has to be reviewed in order to perform task previously done by the commenting version handler.

      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: