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

Trim input values and convert empty string to null

    XMLWordPrintable

Details

    • Bug
    • Status: Blocked (View Workflow)
    • TBD
    • Resolution: Unresolved
    • None
    • None
    • None
    • Standard Bug Write-Up Format
    • Prokopovych
    • Chalmers, University of Chicago

    Description

      I ran into a problem where multiple users had the same externalSystemId. I submitted a separate issue for that in mod-users. Now I ran into a second problem. I cleared the externalSystemId values on all but one of the users to eliminate the duplicate values. However, I found that the FOLIO UI then set the values to "" (empty string) rather than setting them to null (removing the JSON property). This resulted in there still being duplicate values, only this time they were empty string rather than the original value. There needs to be a way to null out/remove values in that field. It's probably best to trim input values and then convert empty strings to null for consistency.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                pwanninger Patty Wanninger
                jemiller Jon Miller
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases