OpenMRS Core Master

Build: #1636 did not complete 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

Queued
Started
Completed
Status
Reason for not building is unknown
Labels
None
Revisions
openmrs-core
7606d3e69fbf433a9ccb91241408b6124d826610 7606d3e69fbf433a9ccb91241408b6124d826610
openmrs-standalone
551f918aec77fe65cf05b622187421734b948393 551f918aec77fe65cf05b622187421734b948393
Release scripts
3b213fe8979ee0c47b7779f9db3410334c97dfd1 3b213fe8979ee0c47b7779f9db3410334c97dfd1

Code commits

openmrs-core
Author Commit Message Commit date
Ivo Ulrich <teleivo@users.noreply.github.com> Ivo Ulrich <teleivo@users.noreply.github.com> 7606d3e69fbf433a9ccb91241408b6124d826610 7606d3e69fbf433a9ccb91241408b6124d826610 Merge pull request #2180 from teleivo/TRUNK-5157
TRUNK-5157 ProgramWorkflowEditor tries to get state by uuid twice
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> c1d26c728149614a7c1dce1db7557308a16da46c c1d26c728149614a7c1dce1db7557308a16da46c TRUNK-5157 ProgramWorkflowEditor 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 ProgramWorkflow 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.

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

Jira issues

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