Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3504

ProgramWorkflowService.getProgramByName does not look at Program.name

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      The ProgramWorkflowService.getProgramByName(String) method is only looking at Program.concept.names.

      It should be rewritten to look at Program.name. And it should be rewritten to do a DB query via the DAO, instead of doing getAllPrograms().

        Attachments

          Activity

            People

            Assignee:
            jdamore Jean D'Amore
            Reporter:
            darius Darius Jazayeri [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified