Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1715

"Response: Potential Match Found" contains incorrect JSON formatting for names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • COmanage Match 1.0.0 (Suitable Pear)
    • Match
    • Tested version is development snapshot from 02/27/2019

    Description

      The JSON included in the body of a potential match response includes key/value pairs using the match-internal attribute names for the data that belongs in the names array instead of parsing the attribute group name back into an array element containing the name type and the individual name parts parsed into "given", "family", etc.

      Expected response

      {"candidates":[{"referenceId":1020,"requestTime":"2019-02-25T19:48:27Z","attributes":[{"matchRequest":6,"sor":"ExternalResolvingSOR","identifiers":[

      {"type":"sor","identifier":"1"}

      ],"dateofbirth":"2004-01-01","names":[

      {"type":"official","given":"John","family":"Doe"}

      ]]}]}

      Actual response

      {"candidates":[{"referenceId":1020,"requestTime":"2019-02-25T19:48:27Z","attributes":[{"matchRequest":6,"sor":"ExternalResolvingSOR","identifiers":[

      {"type":"sor","identifier":"1"}

      ],"dateofbirth":"2004-01-01","official_family_name":"Doe","official_given_name":"John"}]}]}

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            ross.wilper@at.internet2.edu Ross Wilper (stanford.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: