-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E-mail is always being updated #7
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
_When implementing the connector with updating the e-mail field in the mapping enabled the email address is updated every update. The compare doesn't seem to work. The output of the changed items is as follows:
==========================================================================
[
{
"MemberType": 8,
"IsSettable": true,
"IsGettable": true,
"Value": [
"work:d.duck@duckstad.com"
],
"TypeNameOfValue": "System.Object[]",
"Name": "emails",
"IsInstance": true,
"SideIndicator": "=>"
},
{
"MemberType": 8,
"IsSettable": true,
"IsGettable": true,
"Value": [
"work:d.duck@duckstad.com"
],
"TypeNameOfValue": "System.Collections.ArrayList",
"Name": "emails",
"IsInstance": true,
"SideIndicator": "<="
}
].
Unfortunately after modifying the output of the $currentaccount object from TypeNameOfValue": "System.Object[]", to "TypeNameOfValue": "System.Collections.ArrayList", the result is the same.
It looks like something is going wrong when comparing the two arraylist within a compare-object.
Below a anonymized json of the output of a currenctaccountobject for testing.
{
"id": "46c94ca6-9c6b-491d-81b4-a24d0f8afc3e",
"externalId": "123456",
"userName": "123456",
"displayName": "Donald Duck",
"title": "Worlds best dancer",
"preferredLanguage": "nl-NL",
"active": true,
"emails": [
{
"value": "d.duck@duckstad.com",
"type": "work",
"primary": true
}
],
"phoneNumbers": [
{
"value": "06123456789",
"type": "work",
"primary": true
}
],
"groups": [
{
"value": "1234561-af4f-4787-22d4-bffb5678fbe3",
"display": "HelloID_Magic_Group",
"type": "direct",
"$ref": "https://identitymanagement.services.zenya.work/scim/groups/123456789-af4f-4787-81d4-bffb59a1fbe3"
}
],
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"meta": {
"resourceType": "User",
"created": "2018-09-28T09:57:15Z",
"lastModified": "2024-02-06T07:39:23Z",
"location": "https://identitymanagement.services.zenya.work/scim/users/12345678-abcd-efgh-1234-a8971381fd3e"
}
}_
The text was updated successfully, but these errors were encountered: