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

HL7ServiceImpl#resolveUserId should search for users by person name

    Details

    • Complexity:
      Low

      Description

      Current implementation cannot properly resolve user using first name and last name, and it will also cause NullPointerException when users is not found in the database. The correct way to implement is to use 'getUsersByName' method instead of 'getUsersByUsername' method.

      Some work was already done on this ticket that introduced new behavior, but before we can release this we need to also preserve the legacy behavior (see https://issues.openmrs.org/browse/TRUNK-4865?focusedCommentId=236890&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-236890 )

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  darius Darius Jazayeri
                  Reporter:
                  ldf92 Dengfeng Li
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 20 minutes
                    20m
                    Remaining:
                    Remaining Estimate - 20 minutes
                    20m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified