Builds, runs unit tests and deploys artifacts to nexus repo
Build: #479 was successful
Job: Release To Maven did not start
Code commits
Git
-
Michael Seaton <mseaton@pih.org> 39a9445c3dcb85dc53de9ac6a538da9b348f7be4
HTML-658 - Exceeding limit on URL with too many answers within answerConceptSetIds
This commit changes the behavior of the autocomplete widgets such that if allowed answerConceptSetIds are passed in that these are queried during the ajax search for allowed concepts rather than queried at the time of form generation for allowed concepts.
The intended effect is to:
1. prevent issues with exceeding URL length if the answerConceptSetIds refer to thousands of underlying concepts
2. speed up the initial form generation by deferring the query of allowed concepts within configured sets to the ajax search rather than to the server-side form generation- api-tests/src/test/java/org/openmrs/module/htmlformentry/widget/ConceptSeachAutocompleteWidgetTest.java (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)
- api-tests/src/test/java/org/openmrs/module/htmlformentry/widget/DynamicAutocompleteWidgetTest.java (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)
- api/src/main/java/org/openmrs/module/htmlformentry/element/ObsSubmissionElement.java (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)
- api/src/main/java/org/openmrs/module/htmlformentry/widget/ConceptSearchAutocompleteWidget.java (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)
- api/src/main/java/org/openmrs/module/htmlformentry/widget/DynamicAutocompleteWidget.java (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)
- omod/src/main/java/org/openmrs/module/htmlformentry/web/controller/HtmlFormSearchController.java (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)
- omod/src/main/webapp/resources/htmlFormEntry.js (version 39a9445c3dcb85dc53de9ac6a538da9b348f7be4)