AnsweredAssumed Answered

RM 2.0 and import of 1.0 FilePlan

Question asked by tag on Jul 31, 2012
Latest reply on Jul 31, 2012 by mrogers
Hello,

With Alfresco 3.4.9 and RM 1.0, I exported my FilePlan (ACP format) to try to import it into the RM 2.0 (with Alfresco 4.0.2). The import fails, here are the logs :

Jul 31, 2012 5:15:26 PM org.apache.tomcat.util.http.Parameters processParameters
INFO: Invalid chunk starting at byte [93] and ending at byte [93] with a value of [null] ignored
Jul 31, 2012 5:15:26 PM org.apache.tomcat.util.http.Parameters processParameters
INFO: Invalid chunk starting at byte [93] and ending at byte [93] with a value of [null] ignored
2012-07-31 17:15:40,911  WARN  [repo.dictionary.DictionaryDAO] [http-8080-11] Type not found: {http://www.alfresco.org/model/dod5015/1.0}recordCategory
2012-07-31 17:15:40,911  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-11] Exception from executeScript - redirecting to status template error: 06310004 Wrapped Exception (with status temp
late): Failed to import package at line 56; column 59 due to error: Type {http://www.alfresco.org/model/dod5015/1.0}recordCategory has not been defined in the Repository dictionary
org.springframework.extensions.webscripts.WebScriptException: 06310004 Wrapped Exception (with status template): Failed to import package at line 56; column 59 due to error: Type {http://www.alfresco
.org/model/dod5015/1.0}recordCategory has not been defined in the Repository dictionary
        at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1047)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:414)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:476)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:514)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:330)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 56; column 59 due to error: Type {http://www.alfresco.org/model/dod5015/1.0}recordCategory has not been def
ined in the Repository dictionary
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:194)
        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:414)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:263)
        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:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:245)
        at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:211)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:164)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy73.importView(Unknown Source)
        at org.alfresco.module.org_alfresco_module_rm.script.ImportPost$1.doWork(ImportPost.java:218)
        at org.alfresco.module.org_alfresco_module_rm.script.ImportPost$1.doWork(ImportPost.java:215)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:516)
        at org.alfresco.module.org_alfresco_module_rm.script.ImportPost.executeImpl(ImportPost.java:214)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
        … 25 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Type {http://www.alfresco.org/model/dod5015/1.0}recordCategory has not been defined in the Repository dictionary
        at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:275)
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)
        … 51 more

Any suggestions ? :)

Outcomes