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

Build: #44 failed Changes by Daniel Kayiwa

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
33 seconds
Labels
None
Revisions
Git
df02c06a71cf192650a0ca639058cb5a13c4aab8 df02c06a71cf192650a0ca639058cb5a13c4aab8
Release scripts
b88f446bdfc760fb5d55eee634998a86c3498d28 b88f446bdfc760fb5d55eee634998a86c3498d28
Total tests
38
Fixed in
#45 (Changes by Daniel Kayiwa)

Tests

Responsible

Code commits

Git
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa df02c06a71cf192650a0ca639058cb5a13c4aab8 df02c06a71cf192650a0ca639058cb5a13c4aab8 Preventing duplicate allergen from being passed in a collection parameter - TRUNK-4498

Tests

New test failures 13
Status Test View job Duration
Collapse Failed AllergyServiceTest setAllergies_shouldSaveTheAllergyListAndStatus History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllAllergiesAndSetStatusToNoKnownAllergiesIfAllAllergiesAreRemovedAndStatusSetAsSuch History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidRemovedAllergiesAndMaintainStatusAsSeeListIfSomeAllergiesAreRemoved History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedComment History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedNonCodedAllergen History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllAllergiesAndSetStatusToUnknownIfAllAllergiesAreRemoved History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithAddedReactions History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest getAllergies_shouldGetTheAllergyListAndStatus History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedCodedAllergen History
Default Job 10 secs
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedSeverity History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedReactionNonCoded History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(59 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithEditedReactionCoded History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)
Collapse Failed AllergyServiceTest setAllergies_shouldVoidAllergiesWithRemovedReactions History
Default Job < 1 sec
org.openmrs.api.APIException: Duplicate allergens not allowed
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasAllergen(Allergies.java:321)
	at org.openmrs.module.allergyapi.Allergies.throwExceptionIfHasDuplicateAllergen(Allergies.java:307)
	at org.openmrs.module.allergyapi.Allergies.addAll(Allergies.java:97)
	at org.openmrs.module.allergyapi.api.impl.PatientServiceImpl.getAllergies(PatientServiceImpl.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(61 more lines...)

Jira issues

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