When I came across the following issue:
In “OpenMRS Standalone 1.11.4”, the deployment of the module fails in liquibase.xml because I try to install roles without uuids.
Although “OpenMRS Standalone 2” is based on the exact same build everything works fine here.
Here the error message: Caused By: Error executing SQL INSERT INTOrole(description,role) VALUES ('The physician who refers the radiology order', 'Radiology: Referring physician'): Field 'uuid' doesn't have a default value:
So my assumption is, that there is a difference in the SQL Create Statement of “Role”.
Could someone please check the Create Statements about this?
I am saving a role without an uuid, that is the point I am trying to make:
Trying to save roles without an uuid should behave the same way in all standalone editions.
OpenMRS software evolves, role.uuid was intended to be required, looks like the constraint was missing which was a bug but got fixed i think in 1.11. FYI different standalone versions have different Platform versions and different versions of Platform are going to behave differently which happens all the time because things new things get introduced while other get remove or bugs get fixed