[ 
http://jira.magnolia-cms.com/browse/MGNLDAM-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Lipp updated MGNLDAM-14:
-------------------------------

        Summary: MigrateContentFromDMSToDAMTask sometimes fails   (was: 
MigrateContentFromDMSToDAMTask sometimes fails complaining about missing 
mandatory child node jcr:content)
    Description: 
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)

No idea why that enforced child node is sometimes not around.


  was:
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)



> MigrateContentFromDMSToDAMTask sometimes fails 
> -----------------------------------------------
>
>                 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)
> No idea why that enforced child node is sometimes not around.

-- 
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]>
----------------------------------------------------------------

Reply via email to