Hi. Yes it is an interesting error. We are using 1.7.3 On Fri, Aug 12, 2011 at 8:02 AM, Dave Thomas <[email protected]> wrote:
> Hi. When you manage an htmlform, the form renders on the screen using a > demo patient. I don't know why this wouldn't be working for you. What > version of the htmlformentry module are you using? > > On Thu, Aug 11, 2011 at 6:36 PM, Evelyn Castle <[email protected]>wrote: > >> Hi Dave, >> >> So we are getting the same error in 1.1.7. However, in the new version you >> sent us, when we are in "Edit HTML Forms", the preview is pulling patient >> data to fill in the HTMLFlowSheet sections. See picture. >> >> Here is the stack trace: >> > > An Internal Error has Occurred*java.lang.IllegalArgumentException* > > No patient with id 12345 > > > >> * >> org.openmrs.module.htmlformentry.web.controller.HtmlFormEntryController.formBackingObject(HtmlFormEntryController.java:80) >> * >> >> >> org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:361) >> >> org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:341) >> >> org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:281) >> >> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) >> >> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) >> >> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) >> >> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) >> >> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) >> >> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:617) >> 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) >> * >> org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65) >> * >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> * >> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76) >> * >> * >> 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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> * >> org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112) >> * >> >> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) >> >> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> *org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)* >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> *org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)* >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> *org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)* >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) >> >> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) >> >> 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:102) >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) >> java.lang.Thread.run(Thread.java:662) >> >> >> OpenMRS Version: 1.8.2 Build 21762 >> >> >> On Thu, Aug 11, 2011 at 5:25 PM, Dave Thomas <[email protected]> wrote: >> >>> hi. can you send some stack traces? In the openmrs error page, you >>> can click 'show stack trace' and it gives you the hundreds of lines of >>> log. That would be useful here. >>> >>> d >>> >>> On 8/11/11, Evelyn Castle <[email protected]> wrote: >>> > Hi Dave, >>> > >>> > Using the uuid kind of fixed the problem. When I am "Manage HTML Forms" >>> and >>> > click "Add New" to test it out, I am still getting this error: >>> > >>> > An Internal Error has Occurred*java.lang.IllegalArgumentException* >>> > >>> > No patient with id 12345 >>> > >>> > >>> > However, when I go into a patients record and pull up the form and >>> > click "Add New", the form comes up correctly. >>> > >>> > Ideas? >>> > >>> > >>> > On Tue, Aug 9, 2011 at 4:49 PM, Dave Thomas <[email protected]> wrote: >>> > >>> >> Hi. I don't currently have access to the code, but try using the form >>> id, >>> >> rather than the htmlformid. This is the id under manage forms, not >>> manage >>> >> htmlforms. >>> >> >>> >> If this doesn't work, try using the uuid from the form table. >>> >> >>> >> D >>> >> >>> >> Evelyn Castle <[email protected]> wrote: >>> >> >>> >> >Hi Dave, >>> >> > >>> >> >So interesting development. We are still running the new version of >>> the >>> >> >module you gave us and everything was working fine. Today, I made a >>> new >>> >> form >>> >> >that had a flowsheet in it, and I am getting this error: >>> >> > >>> >> >An Internal Error has Occurred*java.lang.IllegalArgumentException* >>> >> > >>> >> >You must specify either an htmlFormId or a formId >>> >> > >>> >> >Consult the help document < >>> http://ihv.ehealth.org.ng/openmrs/help.htm>. >>> >> >Contact your friendly neighborhood administrator if it cannot be >>> >> > resolved. >>> >> > >>> >> >Show stack trace< >>> >> >>> http://ihv.ehealth.org.ng/openmrs/module/htmlformentry/htmlFormEntry.form?inPopup=true&personId=4&formId=23&returnUrl=/openmrs/module/htmlformflowsheet/testChart.list%3FselectTab%3D0&closeAfterSubmission=closeEncounterChartPopup4e3ce2b55f14493da26f06faed102579# >>> >> > >>> >> > >>> >> > >>> >> >The following data will be submitted with the report to enable the >>> team >>> >> > to >>> >> >resolve the problem. >>> >> > >>> >> > - The error message and stack trace >>> >> > - OpenMRS version >>> >> > - Application server name and version >>> >> > - Username of the user currently logged in >>> >> > - The implementation id of this installation (if defined) >>> >> > - Names and versions of all installed modules >>> >> > >>> >> > >>> >> >The formID is specified so I am not sure why it is giving that error. >>> >> > >>> >> >All of the flowsheets that I created before we upgraded to the new >>> module >>> >> >still work fine, I just can't add any new flowsheets. >>> >> > >>> >> >Suggestions? >>> >> > >>> >> > >>> >> >On Mon, Aug 8, 2011 at 10:25 AM, Evelyn Castle < >>> [email protected] >>> >> >wrote: >>> >> > >>> >> >> Hi Andrew, >>> >> >> >>> >> >> There is only one concept that is still showing up in Tiginya. It >>> is >>> >> >> concept 1382, Family Planning Counseling (from MVP dic). I don't >>> see >>> >> >> anything different about this concept verses the others so I am not >>> >> >> sure >>> >> why >>> >> >> it is the only one still showing up incorrectly. >>> >> >> >>> >> >> If I come across more as I continue making the forms, I'll let >>> everyone >>> >> >> know so we can see if there is a pattern. >>> >> >> >>> >> >> Thanks >>> >> >> Evelyn >>> >> >> >>> >> >> >>> >> >> On Thu, Aug 4, 2011 at 6:03 PM, Andrew Kanter < >>> [email protected] >>> >> >wrote: >>> >> >> >>> >> >>> Can you provide examples of which terms are not showing up >>> properly so >>> >> we >>> >> >>> can find a pattern? >>> >> >>> Thanks >>> >> >>> Andy >>> >> >>> >>> >> >>> -------------------- >>> >> >>> Andrew S. Kanter, MD MPH >>> >> >>> >>> >> >>> - Director of Health Information Systems/Medical Informatics >>> >> >>> Millennium Villages Project, Earth Institute, Columbia University >>> >> >>> - Asst. Prof. of Clinical Biomedical Informatics and Clinical >>> >> Epidemiology >>> >> >>> Columbia University >>> >> >>> >>> >> >>> >>> >> >>> Email: [email protected] >>> >> >>> Mobile: +1 (646) 469-2421 >>> >> >>> Office: +1 (212) 305-4842 >>> >> >>> Skype: akanter-ippnw >>> >> >>> Yahoo: andy_kanter >>> >> >>> >>> >> >>> ------------------------------ >>> >> >>> *From:* Dave Thomas <[email protected]> >>> >> >>> *To:* [email protected] >>> >> >>> *Sent:* Thursday, August 4, 2011 12:46 PM >>> >> >>> *Subject:* [OPENMRS-IMPLEMENTERS] Fwd: [OPENMRS-IMPLEMENTERS] >>> Wrong >>> >> >>> languages in HTML FormFlowsheet >>> >> >>> >>> >> >>> (reposting to the implementer's list, and I'm going to release a >>> new >>> >> >>> htmlformflowsheet module shortly) >>> >> >>> >>> >> >>> >>> >> >>> Hi Dave, >>> >> >>> >>> >> >>> We tried the new release and it fixed basically all of the >>> language >>> >> errors >>> >> >>> we were having. There was only one concept that I could find that >>> is >>> >> still >>> >> >>> showing up in the wrong language. Not sure why..... But if there >>> are >>> >> only a >>> >> >>> few like that then I can fix it by changing the word that its >>> choosing >>> >> to >>> >> >>> English. Not the best fix, but it works. >>> >> >>> >>> >> >>> Also, it fixed another error that we were having with drugs. >>> Before, >>> >> when >>> >> >>> you added a new drug and reason for discontinuation, when you >>> saved >>> >> >>> the >>> >> >>> form, the only things that showed up in the flowsheet was the date >>> and >>> >> >>> reason for discontinuation, not the drug. Now, the drug shows up >>> as >>> >> well. >>> >> >>> Just so you know. >>> >> >>> >>> >> >>> Thanks a lot! >>> >> >>> >>> >> >>> >>> >> >>> On Wed, Aug 3, 2011 at 6:56 PM, Dave Thomas <[email protected]> >>> wrote: >>> >> >>> >>> >> >>> Hi. I'm working toward a new release of the module. Can you back >>> up >>> >> the >>> >> >>> one you're using for a sec, and try this one? >>> >> >>> >>> >> >>> d >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> Hi Dave, >>> >> >>> >>> >> >>> We currently only have two users in our system and both have their >>> >> >>> language set to english_GB in the 'my profile' section. >>> >> >>> >>> >> >>> Any other ideas on why it might be doing that? >>> >> >>> >>> >> >>> Our group is working heavily on getting this install up and >>> running in >>> >> the >>> >> >>> next few weeks and I am sure more issues will come up so I am glad >>> to >>> >> know >>> >> >>> you will be around to help out! >>> >> >>> >>> >> >>> Thanks >>> >> >>> Evelyn >>> >> >>> >>> >> >>> >>> >> >>> On Wed, Aug 3, 2011 at 3:24 PM, Dave Thomas <[email protected]> >>> wrote: >>> >> >>> >>> >> >>> Hi. The translations should be based on your user preferences -- >>> in >>> >> the >>> >> >>> way upper right on any openmrs screen in the 'my profile' section. >>> If >>> >> you >>> >> >>> have users with different locale settings as their defaults, this >>> >> >>> would >>> >> >>> cause this to happen. The display names are really just based on >>> >> >>> concept.getBestName(locale). >>> >> >>> >>> >> >>> If this doesn't explain what you're seeing let me know. >>> >> >>> >>> >> >>> Also, I've been away for a while, but i'm back in Rwanda and I >>> have a >>> >> >>> little bit of time to drive htmlformflowsheet forward again. Are >>> >> >>> there >>> >> >>> other issues? >>> >> >>> >>> >> >>> d >>> >> >>> >>> >> >>> On Wed, Aug 3, 2011 at 3:18 PM, Evelyn Castle < >>> [email protected] >>> >> >wrote: >>> >> >>> >>> >> >>> Hi All, >>> >> >>> >>> >> >>> When using the HTML formflowsheet, random languages are showing up >>> in >>> >> both >>> >> >>> the column headers as well as the answers. Most of the time it is >>> >> either >>> >> >>> English or Tigrinya but now I am getting some in Spanish as well. >>> In >>> >> our >>> >> >>> global properties, English is chosen as default. Anyone know what >>> >> >>> could >>> >> be >>> >> >>> causing this? See Screenshot of example. >>> >> >>> >>> >> >>> Thanks >>> >> >>> Evelyn >>> >> >>> >>> >> >>> -- >>> >> >>> Evelyn Castle >>> >> >>> Co-Director, eHealth Nigeria >>> >> >>> +1 415 545 8289 (US) >>> >> >>> website: http://www.eHealthNigeria.org >>> >> >>> blog: http://www.evelyncastle.com >>> >> >>> skype: evelynlcastle >>> >> >>> ------------------------------ >>> >> >>> Click here to unsubscribe< >>> >> [email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> >> OpenMRS Implementers' mailing list >>> >> >>> >>> >> >>> >>> >> >>> ------------------------------ >>> >> >>> Click here to unsubscribe< >>> >> [email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> >> OpenMRS Implementers' mailing list >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> -- >>> >> >>> Evelyn Castle >>> >> >>> Co-Director, eHealth Nigeria >>> >> >>> +1 415 545 8289 (US) >>> >> >>> website: http://www.eHealthNigeria.org >>> >> >>> blog: http://www.evelyncastle.com >>> >> >>> skype: evelynlcastle >>> >> >>> ------------------------------ >>> >> >>> Click here to unsubscribe< >>> >> [email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> >> OpenMRS Implementers' mailing list >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> -- >>> >> >>> Evelyn Castle >>> >> >>> Co-Director, eHealth Nigeria >>> >> >>> +1 415 545 8289 (US) >>> >> >>> website: http://www.eHealthNigeria.org >>> >> >>> blog: http://www.evelyncastle.com >>> >> >>> skype: evelynlcastle >>> >> >>> >>> >> >>> ------------------------------ >>> >> >>> Click here to unsubscribe< >>> >> [email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> >> OpenMRS Implementers' mailing list >>> >> >>> >>> >> >>> >>> >> >>> ------------------------------ >>> >> >>> Click here to unsubscribe< >>> >> [email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> >> OpenMRS Implementers' mailing list >>> >> >>> >>> >> >> >>> >> >> >>> >> >> >>> >> >> -- >>> >> >> Evelyn Castle >>> >> >> Co-Director, eHealth Nigeria >>> >> >> +1 415 545 8289 (US) >>> >> >> website: http://www.eHealthNigeria.org >>> >> >> blog: http://www.evelyncastle.com >>> >> >> skype: evelynlcastle >>> >> >> >>> >> > >>> >> > >>> >> > >>> >> >-- >>> >> >Evelyn Castle >>> >> >Co-Director, eHealth Nigeria >>> >> >+1 415 545 8289 (US) >>> >> >website: http://www.eHealthNigeria.org >>> >> >blog: http://www.evelyncastle.com >>> >> >skype: evelynlcastle >>> >> > >>> >> >_________________________________________ >>> >> > >>> >> >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] >>> >> >>> > >>> > >>> > >>> > -- >>> > Evelyn Castle >>> > Co-Director, eHealth Nigeria >>> > +1 415 545 8289 (US) >>> > website: http://www.eHealthNigeria.org >>> > blog: http://www.evelyncastle.com >>> > skype: evelynlcastle >>> > >>> >> >> >> >> -- >> Evelyn Castle >> Co-Director, eHealth Nigeria >> +1 415 545 8289 (US) >> website: http://www.eHealthNigeria.org >> blog: http://www.evelyncastle.com >> skype: evelynlcastle >> > > -- Evelyn Castle Co-Director, eHealth Nigeria +1 415 545 8289 (US) website: http://www.eHealthNigeria.org blog: http://www.evelyncastle.com skype: evelynlcastle _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

