The Allergy API plan. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #22 failed
Job: Default Job failed
Job result summary
- Completed
- Duration
- 31 seconds
- Revision
-
874ce4124d133c9a4ba40c2c370b7f773a9d3590
874ce4124d133c9a4ba40c2c370b7f773a9d3590 - Total tests
- 21
- Fixed in
- #23 (Code changes detected)
Tests
- 21 tests in total
- 8 tests failed
- 8 failures are new
- 17 seconds taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithAddedReactions
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (72 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithEditedCodedAllergen
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (72 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithEditedComment
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (70 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithEditedNonCodedAllergen
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (70 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithEditedReactionCoded
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (72 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithEditedReactionNonCoded
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (70 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithEditedSeverity
|
< 1 sec | |
org.hibernate.HibernateException: Don't change the reference to a collection with cascade="all-delete-orphan": org.openmrs.module.allergyapi.Allergy.reactions at org.hibernate.engine.Collections.prepareCollectionForUpdate(Collections.java:248) at org.hibernate.engine.Collections.processReachableCollection(Collections.java:207) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:60) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:77) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165) (70 more lines...) |
|||
Collapse |
AllergyServiceTest
setAllergies_shouldVoidAllergiesWithRemovedReactions
|
< 1 sec | |
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.openmrs.module.allergyapi.AllergyReaction#1] at org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:638) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:120) at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:965) at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:948) at org.hibernate.engine.Cascade.deleteOrphans(Cascade.java:486) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:455) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:362) (81 more lines...) |