Problem using xForms

Stop Tomcat, Delete the logs, Start Tomcat, Reproduce the problem, Share the new log.

Here it is. https://pastebin.com/i8TgKvqV

Are you sure that this is all that your log file contains?

Hi Daniel, Yes that’s it. I stopped Apache, deleted the log file, restarted Apache and completed the steps. I will try again and will re-post the file.

Regards,

Ben

Hi Daniel, I’m on holidays from work and have a chance to look at this again. I have copied the catalina.out file again to https://pastebin.com/h19xuQm0

I tried using the xForms designer on the default forms such as Admission (Simple) and it still fails to load any of schema other than the default such as Birth date etc.

I have tried reloading the xForms module again and clearing the fire fox cache to ensure its not loading a cached version of the page.

Regards,

Ben

Which browser are you using?

I’m using Firefox.

Do you have some time for us to chat on IRC? https://wiki.openmrs.org/display/IRC/Home

yeah sure. Let me know when’s good for you.

Regards,

Ben

Are you available now?

Sorry Daniel, I just got your email. I’m free now.

Ping me on IRC

Hi Daniel, how have you been? I’m back working on my OpenMRS installation again after having some time off and would like to touch base again regarding this problem.

I have just done a fresh install and seem to be still having the exact same issue with xForms not loading the schema. If i delete items from the schema, they don’t show up under the xForms designer as you would expect, however, whenever i refresh the form fields in the designer the relationship fields keep reappearing even after deleting them and not any of the newly added items.

I thought after a fresh install this may have resolved any previous problems.

Server details are; OpenMRS version: 2.2.0 Build ab94ff OS: Ubuntu 14.04 Java Version: 1.8.0_212 Browser: Firefox Quantum (67.0.4)

Modules: referenceapplication-package-2.9.0 xForms 4.3.12

Been doing well and good to see you back.

Can you share a screenshot of your form schema with the added fields?

Hi Daniel, thanks for getting back to me.

Screen shots below.

I feel like I’m missing something???

Schema design

image001.png

Pre-refresh

image002.png

Post refresh

image003.png

They should be under the OBS node as you can see here: https://wiki.openmrs.org/display/docs/XForms+Module+User+Guide?preview=/3346169/38862859/Screenshot%20from%202013-02-22%2020%3A52%3A02.png

Daniel, you are a legend. Thank you so so so much. That’s it.