I love the idea of specifying the directory structure in the web context xml. Is this final? Should we wait for this to be implemented?
I had created a related ticket which sought to allow a customized directory path to be passed via command line
I love the idea of specifying the directory structure in the web context xml. Is this final? Should we wait for this to be implemented?
I had created a related ticket which sought to allow a customized directory path to be passed via command line
Andrew, nobody is actively working on this now. Daniel hasnāt picked this back up since the conversation above.
Do you want to take a shot at implementing it such that the application context xml config says where to look for updates?
Hi,
I will look at it during the course of the week
Thanks
Just a ping on thisācan we look into prioritizing this? Will become a problem for more and more modules as we start making them 2.0 compatible. It almost should be a requirement to get this working first, before making the modules 2.0 compatible.
fyi, ticket is here:
Take care, Mark
@mogoodrich, maybe you can take a stab at writing down a proposed approach for how this should be done? Then maybe we can look to a broader group of potential volunteers to implement it.
Ha, good response @darius. Iāll see if I can block out some time with this, but, honestly, I havenāt been following the splittin into submodules stuff much.
Committed at https://github.com/openmrs/openmrs-module-uiframework/commit/2eb63f278e1ee5b85f53f1dccc63d15579b4add1
Sample module configuration at https://github.com/openmrs/openmrs-module-allergyui/commit/df9e376d1f963132733e2c2854f13281bc8dc6c4
@dkayiwa @darius I ran into an interesting challenge on 1.11.x with Ref App 2.5 (the problem has been there longer), but when I enable development mode via SDK by watching a module then I run into this error https://gist.github.com/ssmusoke/9d588fd476dffa324946772e3a3fa258
(I totally love this part) You could setup a test server using SDK by using the distro below
mvn openmrs-sdk:setup -Ddistro=org.openmrs.module:aijar:1.0.15-SNAPHOT
Do you have the changes in the commits above?
@dkayiwa let me pull the changes
@dkayiwa error still persists with the changes
Which changes do you have?
@dkayiwa The module versions and the development folder with only the omod folder in my case, even the OpenMRS version had no changes
Can i see the changes you made to your module for this?
<bean class="org.openmrs.ui.framework.StandardModuleUiConfiguration">
<property name="moduleId" value="${project.parent.artifactId}" />
<property name="openmrsVersion" value="1.*" />
<property name="developmentFolders">
<list>
<value>omod</value>
</list>
</property>
</bean>
and the pom.xml just has the snapshot version of the uiframework module
The uiframework missing property error is such a generic one that can be produced by any server side failure. Could you share the server log?
@ssmusoke the actual cause is in the server log. What you have provided is what gets displayed in the user interface, which most times, does not contain the actual cause.
The log does not seem to give a clue. Does this happen when you access a certain page? Or all pages? Which version of the uiframework module do you have?