Plan for OpenMRS Core 1.11.x

Build: #47 failed Changes by Wyclif Luyima

Stages & jobs

  1. Build and Test

  2. Deploy

Build result summary

Details

Completed
Queue duration
2 seconds
Duration
5 minutes
Labels
None
Revision
cab3fdcdd4fcda98274fce7938d562a6dc3d8cf6 cab3fdcdd4fcda98274fce7938d562a6dc3d8cf6
Total tests
2880
Fixed in
#48 (Changes by Wyclif Luyima)

Tests

Responsible

Code commits

Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima cab3fdcdd4fcda98274fce7938d562a6dc3d8cf6 cab3fdcdd4fcda98274fce7938d562a6dc3d8cf6 Follow up to clean up unit tests - TRUNK-4436
Follow up to clean up unit tests - TRUNK-4436

Follow up to clean up unit tests - TRUNK-4436
Wyclif Luyima Wyclif Luyima 21f5df4aeb9b60e4e698b1ada8691c2d07b523cd 21f5df4aeb9b60e4e698b1ada8691c2d07b523cd Drug orders for different formulations of the same concept should be allowed - TRUNK-4436
TRUNK-4436: Improve the order service test and use nullSafeEquals

TRUNK-4436: Use nullSafeEquals in Order
Wyclif Luyima Wyclif Luyima 0551587d73410ae690eee168959d0dd69b81f66c 0551587d73410ae690eee168959d0dd69b81f66c Drug order is not allowed without a drug - TRUNK-4437

Tests

New test failures 2
Status Test View job Duration
Collapse Failed OrderServiceTest saveOrder_shouldPassIfAnActiveDrugOrderForTheSameConceptAndCareSettingButDifferentFormulationExists History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement: insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement:
insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.get(DbException.java:148)
	at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:368)
	at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:310)
(52 more lines...)
Collapse Failed OrderServiceTest saveOrder_shouldFailIfAnActiveOrderForTheSanmeDrugFormulationExists History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement: insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement:
insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.get(DbException.java:148)
	at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:368)
	at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:310)
(52 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4436Could not obtain issue details from Jira
Unknown Issue TypeTRUNK-4437Could not obtain issue details from Jira