Skip to content
Discussion options

You must be logged in to vote

Sorry for the late reply.
This is some good find and IMO we should totally create an issue for it. From what I quickly checked the problem is most likely here

try
{
currentFolder = await currentFolder.PnPContext.Web.GetFolderByServerRelativeUrlAsync(currentUrl, expressions).ConfigureAwait(false);
}
catch (SharePointRestServiceException)
{
currentFolder = await currentFolder.AddFolderAsync(folderName).ConfigureAwait(false);
currentFolderWasCreated = true;
}
}

It seems like we have a race condition between the GET and the POST like

Thre…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@aramB
Comment options

@aramB
Comment options

Answer selected by Adam-it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants