You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Minor suggestion on PnP.Core.Provisioning.ObjectHandlers.ObjectHandlerBase
#1897
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi @Adam-it,
Maybe checking wether the a LoadAsync is required will reduce the web requests.
pnpcore/src/sdk/PnP.Core.Provisioning/ObjectHandlers/ObjectHandlerBase.cs
Line 432 in db3d654
pnpcore/src/sdk/PnP.Core.Provisioning/ObjectHandlers/ObjectHandlerBase.cs
Line 433 in db3d654
Additional information:
Calling _api/Site?$select=Id,RootWeb/Id&$expand=RootWeb on one tenant leads to an SharePointRestServiceException.
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2147467261, System.ArgumentNullException</m:code>
<m:message xml:lang="en-US">Value cannot be null. Parameter name: target</m:message>
</m:error>
I don't know why this happens on this tenant, but the Id of the RootWeb and the Id of Web already loaded.
All reactions