Cohort builder error on openmrs 2.1.2.

I’ve also tested this on Bahmni 0.90 (…which is running OpenMRS 2.1.1) and found the same issue. All Cohort builder queries are returning 0.

Composition queries from the reporting module are also returning wrong results. Maybe this is related to this commit. All composition queries return the value from the first cohort query in the composition as describe on this post.

The log file doesn’t show any errors, it just logs a warning message:

[WARN ] HibernateConceptDAO - No concept found for 'REASON ORDER STOPPED'

…which i see is from this line.

@mksd @mksrom