-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix : Update Profile when synchronized profile property setting from AD - EXO-65023 - Meeds-io/meeds#1084 #85
Conversation
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COuld you add a UT for this change too ?
.../java/org/exoplatform/services/organization/externalstore/IDMExternalStoreImportService.java
Show resolved
Hide resolved
} | ||
return internalUserProfile; | ||
listenerService.broadcast(IDMExternalStoreService.USER_PROFILE_ADDED_FROM_EXTERNAL_STORE, this, userInfoMap); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should not be fired unles there is a modification
} | ||
return internalUserProfile; | ||
listenerService.broadcast(IDMExternalStoreService.USER_PROFILE_ADDED_FROM_EXTERNAL_STORE, this, userInfoMap); | ||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this function does not have top return a value, we change the signature, otherwise we return the user profile as it was done
4b77ead
to
d0082d5
Compare
Your PR triggers too many exo-ci builds! Please finish your work and then, set your PR ready! Thank you |
88e287a
to
a5916a7
Compare
Your PR triggers too many exo-ci builds! Please finish your work and then, set your PR ready! Thank you |
454c6ba
to
97dc253
Compare
Your PR triggers too many exo-ci builds! Please finish your work and then, set your PR ready! Thank you |
be8de9e
to
cb43a0b
Compare
…AD - EXO-65023 - Meeds-io/meeds#1084 update ipmortUserProfile method and add the unit test update UT
Your PR triggers too many exo-ci builds! Please finish your work and then, set your PR ready! Thank you |
…AD - EXO-65023 - Meeds-io/meeds#1084 (#85) Prior to this change, when we searched for synchronized people by their phone numbers, no results were displayed. This issue was due to the multi-valued synchronized property, which was saved as a map of string key-value pairs like "phones.home." This change is going to prevent the profile property from being saved using the old user profile format and will instead be saved in the format of parent and child using a map of string and object key-value pairs. It also adds the Mockito framework.
…AD - EXO-65023 - Meeds-io/meeds#1084 (#85) Prior to this change, when we searched for synchronized people by their phone numbers, no results were displayed. This issue was due to the multi-valued synchronized property, which was saved as a map of string key-value pairs like "phones.home." This change is going to prevent the profile property from being saved using the old user profile format and will instead be saved in the format of parent and child using a map of string and object key-value pairs. It also adds the Mockito framework.
Prior to this change, when we searched for synchronized people by their phone numbers, no results were displayed. This issue was due to the multi-valued synchronized property, which was saved as a map of string key-value pairs like "phones.home."
This change is going to prevent the profile property from being saved using the old user profile format and will instead be saved in the format of parent and child using a map of string and object key-value pairs.
It also adds the Mockito framework.