Plan for OpenMRS Core 2.0.x

Build: #126 failed Changes by dkayiwa <kayiwadaniel@gmail.com>

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
7 minutes
Labels
None
Revisions
openmrs-core
b6725e8d98ed34a0310c3caffc92461035afdd0a b6725e8d98ed34a0310c3caffc92461035afdd0a
openmrs-standalone
a007b20569b3776ca375346af549436b53296a95 a007b20569b3776ca375346af549436b53296a95
Release scripts
1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa 1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa
Total tests
3283
Fixed in
#127 (Changes by dkayiwa <kayiwadaniel@gmail.com>)

Tests

Responsible

No one has taken responsibility for this failure

Code commits

openmrs-core
Author Commit Message Commit date
dkayiwa <kayiwadaniel@gmail.com> dkayiwa <kayiwadaniel@gmail.com> b6725e8d98ed34a0310c3caffc92461035afdd0a b6725e8d98ed34a0310c3caffc92461035afdd0a Adding the changed properties to the error message

Tests

New test failures 3
Status Test View job Duration
Collapse Failed OrderEntryIntegrationTest shouldFailIfAnEditedOrderIsFlushed History
Build and Test < 1 sec
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed")
     but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [instructions] on Order is not allowed"
Stacktrace was: org.openmrs.api.APIException: Editing some fields: [instructions] on Order is not allowed
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111)
 at org.openmrs.api.db.hibernate.ChainingInterceptor.onFlushDirty(ChainingInterceptor.java:75)
 at org.hibernate.event.internal.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:365)
 at org.hibernate.event.internal.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:342)
(152 more lines...)
Collapse Failed ImmutableEntityInterceptorTest onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse History
Build and Test < 1 sec
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed")
     but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [immutable] on Order is not allowed"
Stacktrace was: org.openmrs.api.APIException: Editing some fields: [immutable] on Order is not allowed
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111)
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptorTest.onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse(ImmutableEntityInterceptorTest.java:106)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(104 more lines...)
Collapse Failed ImmutableEntityInterceptorTest onFlushDirty_shouldFailIfAnEntityHasAChangedProperty History
Build and Test < 1 sec
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed")
     but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [immutable] on Order is not allowed"
Stacktrace was: org.openmrs.api.APIException: Editing some fields: [immutable] on Order is not allowed
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111)
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptorTest.onFlushDirty_shouldFailIfAnEntityHasAChangedProperty(ImmutableEntityInterceptorTest.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(104 more lines...)