Uploaded image for project: 'Metadata Sharing Module'
  1. Metadata Sharing Module
  2. META-356

Error Thrown When Assessing Metadata about to be Imported.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      I am trying to import order entry concepts exported from 1.10 to 1.11.5. Everything goes fine until I reach the step where I am supposed to assess the concepts about to be imported. When I click assess the exception shown below is thrown.

      org.apache.jasper.JasperException: /WEB-INF/view/module/metadatasharing/import/assessItem.jsp (line: 148, column: 31) Attribute code invalid for tag form according to TLD
      	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
      	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
      	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:237)
      	org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1266)
      	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:876)
      	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
      	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
      	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)
      	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
      	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
      	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)
      	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
      	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
      	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)
      	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
      	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
      	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2433)
      	org.apache.jasper.compiler.Node$Root.accept(Node.java:474)
      	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
      	org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1817)
      	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)
      	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
      	org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      	org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
      	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
      	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      	org.openmrs.web.filter.JspClassLoaderFilter.doFilter(JspClassLoaderFilter.java:47)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
      	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
      	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:263)
      	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
      	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
      	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      	org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
      	org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
      	org.openmrs.module.logmanager.web.filter.RequestProviderFilter.doFilterInternal(RequestProviderFilter.java:36)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
      	org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:60)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
      	org.openmrs.module.amrsmobileforms.web.LocationFilter.doFilter(LocationFilter.java:27)
      	org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
      	org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
      	org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
      	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      

      Steps to Reproduce
      Click Administration->Import Metadata under "Metadata Sharing" section. select the zip file to be imported (in my case it is the order entry concepts from 1.10) then click next, on the page displayed you will get a warning that you are importing from a different version, it may fail. Ignore and click next, choose "import from peer" and click next, accept the default configuration and the click next. You will see a page as shown on attached screenshot. If you cick "start assessing" button at the top or any of the "Assess" link next to record that requires an assessment you get the exception.

        Attachments

          Activity

            People

            Assignee:
            willa Willa Mhawila [X] (Inactive)
            Reporter:
            willa Willa Mhawila [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: