Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-324 Go through the TODO items code and create tickets out of them
  3. TRUNK-4989

Remove commented code about Throw an exception if there is no location to fall back on

    Details

    • Complexity:
      Low

      Description

      Issue on TODOs
      Line 133 of LocationServiceImpl.java
      Link: https://github.com/openmrs/openmrs-core/blob/1e84458acb17e00620cbce82f8ec1e5391f8d8f9/api/src/main/java/org/openmrs/api/impl/LocationServiceImpl.java#L133 contains this TODO:

      Figure out if we should/could throw an exception if there's no location to fall back on.
      if (location == null)

      { throw new APIException("Default location does not exist"); }

        Attachments

          Activity

            People

            • Assignee:
              ykarim250 Yusuf Karim
              Reporter:
              grimm Collin Grimm
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: