1. Deployment projects
  2. Deploy Trunk Nightly
  3. Releases

Release: openmrs-trunk-1637

INCOMPLETE
Deploys nightly Demo and publishes nightly to sourceforge

Commits

Comparison is available only for releases created from the same branch as this release.

This release
Author Commit Message Commit date
Ivo Ulrich <teleivo@users.noreply.github.com> Ivo Ulrich <teleivo@users.noreply.github.com> 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 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