I loaded XForms on the latest standalone. When I try to open xforms to create a form, it keeps on loading, but it does not go further. Someone able to help?
Share the server side log via pastebin.com
OpenMRS is ready for you at http://localhost:8080/openmrs/ Mar 21, 2022 4:15:54 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [“http-nio-8080”] Mar 21, 2022 4:15:55 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet ‘openmrs’ WARN - OpenmrsJspServlet.rescanTldsIfNeeded(56) |2022-03-21T16:15:56,333| Rescanning TLDs Mar 21, 2022 4:15:56 PM org.apache.jasper.servlet.TldScanner scanJars INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. WARN - HibernateContextDAO.authenticate(131) |2022-03-21T16:16:07,527| bad value stored in lockoutTimestamp user property: Mar 21, 2022 4:16:21 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring StaticDispatcherServlet ‘openmrs_static_content’ ERROR - Log.execute(73) |2022-03-21T16:16:32,829| potential cross-site request forgery (CSRF) attack thwarted (user:, ip:102.130.26.176, method:POST, uri:/openmrs/ms/call/plaincall/DWRXformsService.isAuthenticated.dwr, error:Required Token is missing from the Request) WARN - CsrfGuardFilter.logInvalidRequest(137) |2022-03-21T16:16:32,830| Invalid request: URI: ‘/openmrs/ms/call/plaincall/DWRXformsService.isAuthenticated.dwr’ | Remote Address: ‘102.130.26.176’ ERROR - Log.execute(73) |2022-03-21T16:17:20,236| potential cross-site request forgery (CSRF) attack thwarted (user:, ip:102.130.26.176, method:POST, uri:/openmrs/ms/call/plaincall/DWRXformsService.isAuthenticated.dwr, error:Required Token is missing from the Request) WARN - CsrfGuardFilter.logInvalidRequest(137) |2022-03-21T16:17:20,236| Invalid request: URI: ‘/openmrs/ms/call/plaincall/DWRXformsService.isAuthenticated.dwr’ | Remote Address: ‘102.130.26.176’
Hello,
Sorry, I am not sure how to share via pastebin. but these are the server logs I see
I tried to increase the memory of the virtual machine to see if it is not the reason for the problem, but it seems the same thing happens. It just keeps loading without progressing to a usable xforms editor.
I have just fixed it and released version 4.3.13
of the module.
Thank you! Superhero!
Where do I find the new release? 4.3.13
4.3.12 | 4 years ago |
---|---|
Jul 6, 2018 | 1.5.0 |
Only version 4.3.12 is available at the addons.
The new release is not available here. Where can I find it? How do I upgrade without the .omod file?
Am looking into why it is not updated on addons. But in the meantime, you can download it directly from JFrog using this url: JFrog
After downloading it, change the file extension from .jar
to .omod
New error: WARN - Slf4JLogger.log(41) |2022-03-23T09:02:57,280| Failed to restore the auto - Pastebin.com
I don’t know if the form entry module and xforms is connected, but it seems I cannot load concepts in the schema design of the form entry module.
Are you able to reproduce it here? https://qa-refapp.openmrs.org/
I see that xforms is not installed and also that it is not allowed to be uploaded.
When I try to setup a form the design schema does not allow me to add concepts. under the search the concepts appear, but when you click on it nothing happens. I suspect the same error. So yes…reproduced on :
In your application data folder, look for a file named csrfguard.properties
. Change its org.owasp.csrfguard.Enabled
property’s value to true
and restart tomcat to check if you notice any difference.
I have just fixed this and released a new version of the module. Use version 1.11.0 of the legacyui module: OpenMRS Add Ons