cancel
Showing results for 
Search instead for 
Did you mean: 

exports

rdanner
Champ in-the-making
Champ in-the-making
Has anyone experimented with the export functionality in the management console?

I got this the frst time I tried:

params:
   From the root
   include children
   include "this" space (the root)

   I created a number of folders, which i would include here but it would be kind of laborious.  I could send an export … err <grin>  anyway, just wanted to see who else has tried this out and if many have, what the results have been.


11:35:31,022 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'export'.
org.alfresco.service.namespace.InvalidQNameException: The local part of a QName may not contain '/'
        at org.alfresco.service.namespace.QName.<init>(QName.java:243)
        at org.alfresco.service.namespace.QName.createQName(QName.java:170)
        at org.alfresco.repo.exporter.ViewXMLExporter.startNode(ViewXMLExporter.java:148)
        at org.alfresco.repo.exporter.URLExporter.startNode(URLExporter.java:88)
        at org.alfresco.repo.exporter.ChainedExporter.startNode(ChainedExporter.java:99)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:271)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.export(ExporterComponent.java:209)
        at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:158)
        at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:143)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
        at $Proxy35.exportView(Unknown Source)
        at org.alfresco.repo.action.executer.ExporterActionExecuter.executeImpl(ExporterActionExecuter.java:149)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:91)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:455)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:402)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:260)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:119)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:79)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:250)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
org.alfresco.service.namespace.InvalidQNameException: The local part of a QName may not contain '/'
        at org.alfresco.service.namespace.QName.<init>(QName.java:243)
        at org.alfresco.service.namespace.QName.createQName(QName.java:170)
        at org.alfresco.repo.exporter.ViewXMLExporter.startNode(ViewXMLExporter.java:148)
        at org.alfresco.repo.exporter.URLExporter.startNode(URLExporter.java:88)
        at org.alfresco.repo.exporter.ChainedExporter.startNode(ChainedExporter.java:99)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:271)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.export(ExporterComponent.java:209)
        at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:158)
        at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:143)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
        at $Proxy35.exportView(Unknown Source)
        at org.alfresco.repo.action.executer.ExporterActionExecuter.executeImpl(ExporterActionExecuter.java:149)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:91)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:455)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:402)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:260)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:119)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:79)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:250)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
4 REPLIES 4

davidc
Star Contributor
Star Contributor
Somehow an invalid name has made its way into your repository, but it's not clear how.  How have you been writing to your repository - web client only? java api / web services api?

rdanner
Champ in-the-making
Champ in-the-making
I only used the create space button. 
THe only thing wierd I did was change Company Home to my organization's name which has spaces in it.  Company home also has spaces in it.

davidc
Star Contributor
Star Contributor
After investigating, it was actually an issue with the export process.  It's fixed now.

http://www.alfresco.org/jira/browse/AR-187

rdanner
Champ in-the-making
Champ in-the-making
After investigating, it was actually an issue with the export process.  It's fixed now.

http://www.alfresco.org/jira/browse/AR-187

Great!

It's probably a good idea for us to beat on this thing like crazy.  Is it available for download?