ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
179 stars 110 forks source link

Allow criteria builder to work with undefined constraints #958

Closed ppazos closed 6 years ago

ppazos commented 6 years ago

This is not a bug because is the expected behavior, but we want to support this case without throwing exceptions.

Error query builder create criteria for QTY with no units or internal constraints.

No such property: list for class: com.cabolabs.openehr.opt.model.ObjectNode
Possible solutions: class. Stacktrace follows:
Message: No such property: list for class: com.cabolabs.openehr.opt.model.ObjectNode
Possible solutions: class
Line | Method
->> 86 | criteriaSpec in com.cabolabs.ehrserver.query.datatypes.DataCriteriaDV_QUANTITY
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 500 | getCriteriaSpec in com.cabolabs.ehrserver.query.QueryController
| 198 | doFilter . . . in grails.plugin.cache.web.filter.PageFragmentCachingFilter
| 63 | doFilter in grails.plugin.cache.web.filter.AbstractFilter
| 53 | doFilter . . . in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
| 62 | doFilter in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
| 1149 | runWorker . . . in java.util.concurrent.ThreadPoolExecutor
| 624 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 748 | run . . . . . . in java.lang.Thread