The Allergy API plan. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #22 failed Changes by Wyclif Luyima

Stages & jobs

  1. Default Stage

  2. Release to maven

    Requires a user to start manually

Build result summary

Details

Completed
Duration
37 seconds
Labels
None
Revision
874ce4124d133c9a4ba40c2c370b7f773a9d3590 874ce4124d133c9a4ba40c2c370b7f773a9d3590
Total tests
21
Fixed in
#23 (Changes by Daniel Kayiwa)

Tests

Responsible

Code commits

Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima 874ce4124d133c9a4ba40c2c370b7f773a9d3590 874ce4124d133c9a4ba40c2c370b7f773a9d3590 Edit allergy information for a patient - RA-299

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 8
Status Test View job Duration
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithAddedReactions History
Default Job < 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 Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedCodedAllergen History
Default Job < 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 Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedSeverity History
Default Job < 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 Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedReactionNonCoded History
Default Job < 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 Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedComment History
Default Job < 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 Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedReactionCoded History
Default Job < 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 Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithRemovedReactions History
Default Job < 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...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedNonCodedAllergen History
Default Job < 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...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeRA-299Could not obtain issue details from Jira