Following the resolutions of RESTWS-660 (SessionController to set user locale and to return locale information), it is now possible to ensure that the backend OpenMRS locale is in sync with the one chosen by the user upon logging into Bahmni Apps.
See this commit in REST WS.
This tickets affects the login page and login process of Bahmni Apps.
We will have to hold on this pull request until we upgrade openmrs-module-webservices.rest from 2.17 to 2.20.
Since Bahmni now depends on a most recent version on REST Web Services modules (2.20.0) we can re-PR this change:
https://github.com/Bahmni/openmrs-module-bahmniapps/pull/115
()
I'm closing this one as it is fine. We have been using this for a while and it's all good on the QA servers.
Reverting https://github.com/Bahmni/openmrs-module-bahmniapps/pull/115 since the introduced bug https://bahmni.atlassian.net/browse/BAH-338 is impacting more around Concept search in Observation Page, Diagnosis search, Form Auto Complete, Bacteriology, Dashboard Sections and tabs
Below are the revert commit details
https://github.com/Bahmni/openmrs-module-bahmniapps/commit/e76def571509954caef9886aac332354e4719ed6