Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-18907

Import process fails with noderef mandatory exception

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 4.1 Enterprise
    • Fix Version/s: 4.2 Enterprise
    • Component/s: Repository
    • Security Level: external (External user)
    • Labels:
      None
    • Resolution Time Custom Field:
      20 hours, 42 minutes, 4 seconds

      Description

      Failing to import a acp file with the below exception. I am using a xslt to generate the acp xml's. A fragment of is is shown below,

      <?xml version="1.0" encoding="UTF-8"?>
      <view:view xmlns:d="http://www.alfresco.org/model/dictionary/1.0"
      xmlns:rn="http://www.alfresco.org/model/rendition/1.0"
      xmlns:cm="http://www.alfresco.org/model/content/1.0"
      xmlns:alf="http://www.alfresco.org"
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      xmlns:dl="http://www.alfresco.org/model/datalist/1.0"
      xmlns:sys="http://www.alfresco.org/model/system/1.0"
      xmlns:fn="http://www.w3.org/2005/xpath-functions"
      xmlns:view="http://www.alfresco.org/view/repository/1.0"
      xmlns:kh="http://www.kidshealth.org/model/website/1.0"
      xmlns:exif="http://www.alfresco.org/model/exif/1.0"
      xmlns:app="http://www.alfresco.org/model/application/1.0">
      <dl:dataList>
      <view:aspects>
      <cm:auditable/>
      <cm:titled/>
      </view:aspects>
      <cm:name>ICD9PXMedicalCodes</cm:name>
      <dl:dataListItemType>kh:medicalCode</dl:dataListItemType>
      <cm:title>Collection of medical codes of type ICD9PX</cm:title>
      <view:associations>
      <cm:contains>
      <kh:medicalCode>
      <view:aspects>
      <cm:auditable/>
      </view:aspects>
      <sys:node-uuid>a3a08a03-7932-4ebb-848b-ab49c4ec301e</sys:node-uuid>
      <cm:name>ICD9PX00_15</cm:name>
      <kh:codeType>ICD9PX</kh:codeType>
      <kh:codeValue>00.15</kh:codeValue>
      </kh:medicalCode>
      -
      -
      -
      -
      -
      </cm:contains>
      </view:associations>
      </dl:dataList>
      </view:view>

      org.alfresco.service.cmr.view.ImporterExceptionFailed to import package at line 32; column 30 due to error: nodeRef is a mandatory parameter
      fr.openwide.talendalfresco.alfresco.importer.ViewParserBase.parse(ViewParserBase.java:204)
      fr.openwide.talendalfresco.alfresco.importer.ContentImporterComponent.parserImport(ContentImporterComponent.java:258)
      fr.openwide.talendalfresco.alfresco.importer.ContentImporterComponentBase.importView(ContentImporterComponentBase.java:235)
      fr.openwide.talendalfresco.rest.server.command.ImportCommand.executeImpl(ImportCommand.java:168)
      fr.openwide.talendalfresco.rest.server.processor.RestCommandBase.executeRest(RestCommandBase.java:205)
      fr.openwide.talendalfresco.rest.server.processor.RestCommandProcessor.process(RestCommandProcessor.java:96)
      org.alfresco.web.app.servlet.CommandServlet.service(CommandServlet.java:151)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      fr.openwide.talendalfresco.rest.server.CommandAuthenticationFilter.doFilter(CommandAuthenticationFilter.java:118)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
      sun.reflect.GeneratedMethodAccessor841.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
      org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      sun.proxy.$Proxy253.doFilter(Unknown Source)
      org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      java.lang.Thread.run(Thread.java:662)

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  vsriniva vsriniva (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Date of First Response:

                    Structure Helper Panel