Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-2610

if preferredFirstName is empty - only the last and middle name display at top of page

    XMLWordPrintable

Details

    • stripes-force 145, stripes-force 146, stripes-force 147
    • 1
    • Stripes Force
    • Morning Glory (R2 2022) Bug Fix
    • !!!ALL!!!
    • TBD

    Description

      Overview:
      Steps to Reproduce:
      Using lotus bugfest, POST to either the /users or /user-import API creating a new user with an empty preferredFirstName field. For exmple:

      {
       "patronGroup": "tech",
       "externalSystemId": "629797291",
       "active": "true",
       "personal": {
       "lastName": "Doe",
       "firstName": "John",
       "addresses": [],
       "phone": "1-547-555-1212",
       "preferredFirstName": "",
       "middleName": "middlename"
       },
       "id": "24a061e0-53e8-4ab2-a2e5-76cc29ef0049",
       "barcode": "629797291",
       "username": "629797291"
       }

      Or see examples:

      https://bugfest-lotus.int.aws.folio.org/users/preview/503d4445-7d21-4b72-a8da-ea2c3dbf91e3?filters=pg.c6779be0-e077-4504-917e-c0be57521cc7&query=221562763&sort=name

      https://bugfest-lotus.int.aws.folio.org/users/preview/073e4fb1-02c8-4e55-a8eb-dc7c3c8be3ad?filters=pg.c6779be0-e077-4504-917e-c0be57521cc7&sort=name

      Expected Results:

      The display should be:

      LastName, FirstName

      or

      LastName, FirstName MiddleName

      Actual Results:

      The display is:

      LastName

      or

      LastName, MiddleName

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                zburke Zak_Burke
                pwanninger Patty Wanninger
                Patty Wanninger Patty Wanninger
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases