Topic
4 replies Latest Post - ‏2013-10-16T10:21:06Z by BoFrydkjærJørgensen
BoFrydkjærJørgensen
3 Posts
ACCEPTED ANSWER

Pinned topic TCRMReadException - Name usage type

‏2013-10-16T08:53:31Z |

Hi,

 

On my MDM v10 I get a strange error when type to search for a person using the searchPerson service.

The error is:

SystemOut     O ERROR     - Following Person objects dn't have name of configured type[]
SystemOut     O ERROR     - com.dwl.tcrm.exception.TCRMReadException: [1 READERR 49257 The party does not have a name of the configured name usage type]

I can use the getPerson to retrieve the person with the partyId.

 

I am trying to search for a person, using the ContEquiv fields.

 

I have attached request and response.

 

Attachments

  • Naohiro
    Naohiro
    3 Posts
    ACCEPTED ANSWER

    Re: TCRMReadException - Name usage type

    ‏2013-10-16T09:21:29Z  in response to BoFrydkjærJørgensen

    Hi,

    It seems like your target person does not have a specific type of name. Try the following SQL, then add the name object which is specified in your ConfigElement table.

    select value, value_default from configelement where name = '/IBM/Party/Search/ReturnValue/personNameUsageType';

    MDM's default value is: 1,7,4,2,5,3,6,8. This means, your person object needs to have at least one name type out of these name usage type.

    Hope this helps.

    • BoFrydkjærJørgensen
      3 Posts
      ACCEPTED ANSWER

      Re: TCRMReadException - Name usage type

      ‏2013-10-16T09:27:26Z  in response to Naohiro

      value is null, default_value is 1,7,4,2,5,3,6,8

      So, nothing is configured?

      • Naohiro
        Naohiro
        3 Posts
        ACCEPTED ANSWER

        Re: TCRMReadException - Name usage type

        ‏2013-10-16T10:08:42Z  in response to BoFrydkjærJørgensen

        no, default_value is efficient if your value is null.

        So your target person need to have one of name type out of; 1,7,4,2,5,3,6,8.

        • BoFrydkjærJørgensen
          3 Posts
          ACCEPTED ANSWER

          Re: TCRMReadException - Name usage type

          ‏2013-10-16T10:21:06Z  in response to Naohiro

          Okay, thanks.

          The person did not have any of the name types.

          I just don't understand why this error only happends in searchPerson, and not i getPerson.