The UpdateUserProfile methon in the ProfileController has changed in DNN 7.4.2 and it is not wokring with our custom profile provider anymore.
The new code (in ProfileController.cs)
publicstaticvoidUserInfo
{
if
{
return
}
var
user.PortalID = portalId;
varnewUserInfo
ref
_profileProvider.UpdateUserProfile(user);
//Remove the UserInfo from the Cache, as it has been modified
DataCache
ifnull
{
nullnewProfileEventArgs
}
The user object passed to GetUserProfile does not have a value in the UserName property, but only in the UserID property. We have our own ProfileProvider and it will fetch the user profile based on the UserName not the UserId, as I would think it should be doing. It seems odd that the UserInfo object oldUser is created with the UserID property, and not the UserNama property.
Could somebody shed some light on this.
Thank you!
Pedro