-
Notifications
You must be signed in to change notification settings - Fork 192
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
The code Works fine in 1.4.0 but does not update the person field in 1.5.0 #707
Comments
@Ofer-Gal : are you using UpdateAsync or SystemUpdateAsync/UpdateOverWriteVersionAsync to persist the changes? |
@Ofer-Gal : managed to reproduce your issue, it happens when wanting to set a "null" value to a user principal. Fix is in the works. Thanks for providing the feedback. |
my update was with Thank you for fixing. Love your Library |
Hi @Ofer-Gal : the issue has fixed. The problem was that once an existing field had blank/empty values PnP Core SDK did not correctly load the empty field as |
1.5.25 works like a charm :-) |
@Ofer-Gal , yes feel free to use it in production. |
Category
Describe the bug
The Code:
ISharePointUser user = await pnpContext.Web.EnsureUserAsync(item.RequestForEmail); (listItem["Requester"] as IFieldUserValue).Principal = user;
Works fine in 1.4.0 but does not update the person field in 1.5.0
Steps to reproduce
code...
no error
Expected behavior
Thanks for your contribution
The text was updated successfully, but these errors were encountered: