Uploaded image for project: 'Form Entry Module'
  1. Form Entry Module
  2. FORM-151

Updating Form Entry module to support OpenMRS version 1.9 and above

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Complexity:
      Undetermined

      Description

      The latest version (4.5.9.5) available on module repository as I am creating this issue does not work with OpenMRS 1.9.7. The module uses method that is no longer supported by 1.9 and above.

      I have tried to run Rebuild XSN command on one of the forms after upgrading from 1.8.2 to 1.9.7 and below is the error that is displayed on browser.

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception
      java.lang.UnsupportedOperationException: Templates no longer exist on Forms. Use Form Attributes.
      org.openmrs.Form.setTemplate(Form.java:150)
      org.openmrs.module.formentry.PublishInfoPath.publishXSN(PublishInfoPath.java:331)
      org.openmrs.module.formentry.PublishInfoPath.publishXSN(PublishInfoPath.java:184)
      org.openmrs.module.formentry.PublishInfoPath.publishXSN(PublishInfoPath.java:155)
      org.openmrs.module.formentry.FormEntryUtil.rebuildXSN(FormEntryUtil.java:877)
      org.openmrs.module.formentry.web.FormDownloadServlet.doGet(FormDownloadServlet.java:251)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.openmrs.module.web.ModuleServlet.service(ModuleServlet.java:72)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
      org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
      org.openmrs.module.logmanager.web.filter.RequestProviderFilter.doFilterInternal(RequestProviderFilter.java:36)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
      org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:60)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
      org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
      org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:111)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                willa Willa Mhawila
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: