Hi Peter,

It is probably because we include the 1.5.x jar file in lib-common (because reporting is supposed to run on 1.5.x still), but the test dataset was written against 1.6.x, and there was a data model change between the two. Not sure how to resolve this consistently everywhere aside from picking one OpenMRS version to compile and test against and to stick with that.

Mike


On 08/12/2011 09:34 AM, Peter Eichenauer wrote:
Hi,

some test cases throw a NoSuchColumnException - for example
DateObsCohortDefinitionEvaluatorTest

org.dbunit.dataset.NoSuchColumnException: CONCEPT_SOURCE.VOIDED -
(Non-uppercase input column: voided) in ColumnNameToIndexes cache map.
Note that the map's column names are NOT case sensitive.
      at
org.dbunit.dataset.AbstractTableMetaData.getColumnIndex(AbstractTableMetaData.java:128)

If I remove the voided property in ReportTestDataset.xml the test case
runs without failures. Has the data model recently changed?

Thanks,
Peter

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to