Hi Moha, Just to clarify, are you having trouble saving the form structure or submitting data entered into the form?
Can you attach the HTML form? Tobin On Thu, Mar 15, 2012 at 11:50 AM, KAMONYO MUGABO <[email protected]> wrote: > Hi Moha: > > Did you try to save the HFE form by selecting another Provider than Super > User (as I assume that personId #1 is for the Super User). If so, did it > give the same error, or it's only for that one (personId 1)? > > > On Thu, Mar 15, 2012 at 11:33 AM, moha Duali <[email protected]> wrote: > >> Dear All, >> >> I am trying to save the form and I am getting this error message. I am >> using an html form entry. >> >> *your assistance* i am very grateful. >> >> Thanks >> >> Please fix all errors and try again. >> Exception! No provider with personId 1 >> java.lang.IllegalArgumentException: No provider with personId 1 at >> org.openmrs.Encounter.setProvider(Encounter.java:418) at >> org.openmrs.module.htmlformentry.element.EncounterDetailSubmissionElement.handleSubmission(EncounterDetailSubmissionElement.java:440) >> at >> org.openmrs.module.htmlformentry.FormSubmissionController.handleFormSubmission(FormSubmissionController.java:90) >> at >> org.openmrs.module.htmlformentry.web.controller.HtmlFormEntryController.handleSubmit(HtmlFormEntryController.java:226) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:616) at >> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) >> at >> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426) >> at >> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414) >> at >> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) >> at >> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) >> at >> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) >> at >> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 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.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76) >> at org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:6 >> ------------------------------ >> Click here to >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from >> OpenMRS Implementers' mailing list > > > > > -- > > *Best Regards,* > > * > * > > *Mugabo** **KAMONYO* > > *E*lectronic *M*edical* R*ecord - *Java Developer II* > > *I*nstitute of *H*IV/AIDS, *D*isease *P*revention & *C*ontrol > > *R*wanda *B*iomedical *C*entre > > *P.O. Box 7162 Kigali-Rwanda* > email: [email protected] <[email protected]> > > *Tel: (+250) 788 77 95 95 / (+250) 728 77 95 95* > > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > -- Tobin _________________________________________ To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

