The inbuilt forms in lhfc module are not displaying, as I keep getting: Error! java.lang.IllegalArgumentException: Cannot use uiInclude tag if no UiUtils object is available when trying to access the forms from html form entry. Can anyone help with this?
This module is one of several changes made to the Ref App distro 2.3 to obtain the LFHC-specific distro.
Unfortunately we have not yet organised this as a distro with its own repo (as it should be done really), the distro is put together by our CI server and that is where the specific configuration is saved.
Thanks a lot @mksd for you timely response. As per your curiosity, I stumbled upon the distro when I was trying to customize the register patient form. Having explored some of the functionalities presented by the distro, I do hope to tailor it to meet our needs, instead of having to build something from scratch. I will try it out and let you know the outcome.
Sorry to bother you @mksd, but I am getting the following error: Non-resolvable import POM: Failure to find org.openmrs.distro:referenceapplication:pom:2.4-SNAPSHOT in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced @ line 47, column 25 when I try to build the module from cli.
I read a few articles online on how to fix it, and I then changed 2.4-SNAPSHOT to 2.3-SNAPSHOT, yet the problem persisted. Any Idea on how to fix this?
You are not telling us which module you are having this issue with. But whether it is Core Apps or the Reference Application module, try 2.4 (instead of 2.4-SNAPSHOT).
Good morning @mksd, @dkayiwa, @darius, and @mksrom. I have not been able to build 2 of the 3 modules you specified, which are the coreapps and referenceapplication-lfhc modules. I have done what @mksd suggested yet I continue to get a build failure, and the error report reads: Failed to execute goal on project referenceapplication-api: Could not resolve dependencies for project org.openmrs.module:referenceapplication-api:jar:2.3.0.1: Failed to collect dependencies at org.openmrs.module:referencemetadata-api:jar:2.4: Failed to read artifact descriptor for org.openmrs.module:referencemetadata-api:jar:2.4: Failure to find org.openmrs.distro:referenceapplication:pom:2.4-SNAPSHOT in http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty was cached in the local repository
This is a tricky situation and there is no easy workaround here. You may try to depend on 2.5-SNAPSHOT then instead of 2.4 but we haven’t tested this yet and I can’t guarantee that this will work.
Hi, I am facing the same error after uploading “lfhcforms-0.5-SNAPSHOT.omod”
Any suggestion or idea, how to overcome this error Error! java.lang.IllegalArgumentException: Cannot use uiInclude tag if no UiUtils object is available
I just built from LFHC-192, and got the same error
Error! java.lang.IllegalArgumentException: Cannot use uiInclude tag if no UiUtils object is available
Am I missing some steps? Do I need to do some other setup before click these forms
I go to Edit HTML Form and just clicked Wound Details form
At the bottom in the preview section got this error.
Error! java.lang.IllegalArgumentException: Cannot use uiInclude tag if no UiUtils object is available