OpenMRS Core Master

Build: #1635 was successful Run by child build AUM-AUM

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
17 minutes
Labels
None
Revisions
openmrs-core
58bac16a8152307887741c1b2298c3d6581f15a1 58bac16a8152307887741c1b2298c3d6581f15a1
openmrs-standalone
551f918aec77fe65cf05b622187421734b948393 551f918aec77fe65cf05b622187421734b948393
Release scripts
3b213fe8979ee0c47b7779f9db3410334c97dfd1 3b213fe8979ee0c47b7779f9db3410334c97dfd1
Total tests
3819
Successful since
#1620 ()

Tests

Code commits

openmrs-core
Author Commit Message Commit date
Ivo Ulrich <teleivo@users.noreply.github.com> Ivo Ulrich <teleivo@users.noreply.github.com> 58bac16a8152307887741c1b2298c3d6581f15a1 58bac16a8152307887741c1b2298c3d6581f15a1 Merge pull request #2179 from teleivo/TRUNK-5154
TRUNK-5154 ProgramWorkflowStateEditor tries to get state by uuid twice
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> eba7a0a14e2ac86c5e55ab85b5f139ab972066b0 eba7a0a14e2ac86c5e55ab85b5f139ab972066b0 TRUNK-5154 ProgramWorkflowStateEditor tries to get state by uuid twice
the catch block will never be reached since getByUuid() just returns
null if nothing is found. The exception in the try block is normally
thrown by Integer.valueOf() if the text is a uuid and not a number

* use getState(Integer) first to try to get the ProgramWorkflowState by
its id
* is text is not an Integer, the exception in Integer.valueOf will lead
to the catch block being executed which then tries to fetch by the uuid
* added tests

Configuration changes

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

Manual stage Release cannot be run as it references jobs that no longer exist.

Jira issues

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