MigrateContentFromDMSToDAMTask sometimes fails complaining about missing
mandatory child node jcr:content
---------------------------------------------------------------------------------------------------------
Key: MGNLDAM-14
URL: http://jira.magnolia-cms.com/browse/MGNLDAM-14
Project: Magnolia DAM Module
Issue Type: Bug
Affects Versions: 1.0 Alpha1 s008
Reporter: Daniel Lipp
Assignee: Christopher Zimmermann
Priority: Major
The bad thing about this bug is, that it's only happening on rare occasions so
it's not really reproducible. It already happend when the affected task was
created but we thought we could work around it by using
ContentUtil.changeNodeType() instead of Node.setPrimaryType(). As this did not
really fix the problem, we should now analyze in detail and get rid of it.
Stacktrace:
[INFO] [talledLocalContainer]
info.magnolia.module.delta.TaskExecutionException: Could not convert
contentnodes to DAM format. /demo-project/img/bk/Opener/v-light-3: mandatory
child node {http://www.jcp.org/jcr/1.0}content does not exist
[INFO] [talledLocalContainer] at
info.magnolia.dam.setup.MigrateContentFromDMSToDAMTask.convertContentNodesToDAM(MigrateContentFromDMSToDAMTask.java:183)
[INFO] [talledLocalContainer] at
info.magnolia.dam.setup.MigrateContentFromDMSToDAMTask.doExecute(MigrateContentFromDMSToDAMTask.java:74)
[INFO] [talledLocalContainer] at
info.magnolia.module.delta.AbstractRepositoryTask.execute(AbstractRepositoryTask.java:60)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
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]>
----------------------------------------------------------------