Change By: Eric Hechinger (30/Oct/13 6:32 PM)
Description: ConvertMetaDataUpdateTask generate the following exception during upgrade from M4.5 to M5.

Condition: M4.5 repo with uploaded images within FCK editor, custom categories and RSS linked to images. 

To Investigate:
This is one of the first task to run: 
- M4.5 repo do not
 have  a  a  dam workspace
but this task fails by trying to handle a frozen dam node from the dam workspace: 
- /jcr:system/jcr:versionStorage/d1/b4/b5/d1b4b57d-3b5d-41ae-85f2-8ed2e4c186ea/1.0/jcr:frozenNode mgnl:lastModifiedBy

This node refers to the standard article page where I added the FCK embedded images. Without embedded images, the task do not fail. 


{code}
2013-10-30 18:12:06,295 ERROR info.magnolia.module.InstallContextImpl           : > Could not install or update core module. Task 'Convert MetaData Task' failed. (ConstraintViolationException: Unable to perform operation. Node is protected.)
info.magnolia.module.delta.TaskExecutionException: Could not execute task: Constraint violation: Unable to perform operation. Node is protected.
at info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:62)
at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:512)
at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:494)
at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:277)
at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:415)
at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:1)
at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:386)
at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:271)
at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:127)
at java.lang.Thread.run(Thread.java:680)
Caused by: javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:276)
at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:278)
at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:726)
at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2054)
at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:1998)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1920)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:377)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.jcr.wrapper.LastUpdateNodeWrapper.setProperty(LastUpdateNodeWrapper.java:174)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:377)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.setProperty(DelegateNodeWrapper.java:377)
at info.magnolia.jcr.decoration.ContentDecoratorNodeWrapper.setProperty(ContentDecoratorNodeWrapper.java:254)
at info.magnolia.audit.MgnlAuditLoggingContentDecoratorNodeWrapper.setProperty(MgnlAuditLoggingContentDecoratorNodeWrapper.java:119)
at info.magnolia.importexport.postprocessors.MetaDataAsMixinConversionHelper.moveProperty(MetaDataAsMixinConversionHelper.java:245)
at info.magnolia.importexport.postprocessors.MetaDataAsMixinConversionHelper.moveProperties(MetaDataAsMixinConversionHelper.java:223)
at info.magnolia.importexport.postprocessors.MetaDataAsMixinConversionHelper.processNode(MetaDataAsMixinConversionHelper.java:163)
at info.magnolia.importexport.postprocessors.MetaDataAsMixinConversionHelper.convertNodeAndChildren(MetaDataAsMixinConversionHelper.java:127)
at info.magnolia.setup.for5_0.ConvertMetaDataUpdateTask.doExecute(ConvertMetaDataUpdateTask.java:76)
at info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:60)
... 9 more
{code} 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to